Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Maquetado/images/logo-wolox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Maquetado/scss/book-details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import 'mixins';

.front-page {
background-color: $white;
box-shadow: 3px 3px 7px $gray;
display: flex;
gap: 25px;
Expand Down
27 changes: 27 additions & 0 deletions Maquetado/scss/book-list.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,39 @@
@import 'colors';
@import 'mixins';

body {
background-color: $wild-sand;
}

.nav-bar {
background-color: $white;
border-top: 5px solid $cerulean;
box-shadow: 0 3px 7px $gray;
position: fixed;
top: 0;
width: 100%;

ul {
align-items: center;
display: flex;
justify-content: space-between;
margin: 0 10%;
}

.logo-image {
height: 50px;
width: 160px;
}
}

.book-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 60px;

.item {
background-color: $white;
box-shadow: 3px 3px 7px $gray;
margin: 20px;
padding: 25px;
Expand Down
5 changes: 4 additions & 1 deletion Maquetado/scss/colors.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
$gray: #808080;
$black: #000000;
$cerulean: #00adee;
$earls-green: #bed23c;
$gray: #808080;
$white: #ffffff;
$wild-sand: #f4f4f4;
14 changes: 14 additions & 0 deletions Maquetado/views/book-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@
<link rel="stylesheet" type="text/css" href="../application.css" />
</head>
<body>
<header>
<nav class="nav-bar">
<ul>
<li>
<img
src="../images/logo-wolox.png"
class="logo-image"
alt="logo-navbar"
/>
</li>
<li><a href="#">Logout</a></li>
</ul>
</nav>
</header>
<article class="book-list">
<div class="item">
<img
Expand Down