-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmislibros.css
164 lines (140 loc) · 2.26 KB
/
mislibros.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
h2{
text-transform: uppercase;
color: #000046;
}
.contenido{
content: "";
clear: both;
display: table;
width: 100%;
}
.libros-leidos{
float: left;
width: 52%;
height: 500px;
padding: 10px;
margin: 10px 1% 2px 3%;
overflow: overlay;
}
.ultimos-libros h2{
color: #000046;
}
.ultimos-libros{
background-color: #0086ff;
background-image: linear-gradient(#0086ff, #b0d9e6);
float: right;
width: 30%;
border: solid 5px rgba(0, 0, 70, 0.6);
border-radius: 10px;
padding: 10px;
margin: 10px 3% 2px 1%;
text-align: left;
}
.tit-ult-lib{
color: white;
display: block;
font-size: 115%;
margin-left:10%;
}
.alta-libro{
color: #000046;
text-align: center;
display: block;
font-size: 120%;
font-weight: bold;
margin: 15% 10% 0;
}
/*Botón de menú para diseño adaptable*/
.btn-menu{
display: none;
float: left;
background: url(./imagenes/menu.png) no-repeat;
cursor: pointer;
width: 10%;
height: 25px;
background-size: 55%;
border: none;
margin: 1%;
}
/*Menú para diseño adaptable*/
.menu-desplegable {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.menu-desplegable a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
/*Cuando se está encima del botón, se despliega el menú*/
.btn-menu:hover + .menu-desplegable {
display: block;
}
.menu-desplegable:hover{
display: block;
}
.menu-desplegable a.active {
background-color: #000046;
color: white;
text-decoration: none;
}
.menu-desplegable a:hover:not(.active) {
background-color: #00b9ff;
color: white;
text-decoration: none;
}
@media (min-width: 581px) and (max-width: 768px){
.libros-leidos {
width: 50%;
height: 810px;
padding: 0;
margin: 0;
}
.libro{
width: 95%;
margin: 1%;
}
.libro-autor{
flex: 50%;
}
.ultimos-libros{
width: 42%;
margin: 1%;
}
}
@media (max-width: 580px){
.menu{
display: none;
}
.btn-menu{
display: block;
}
.libros-leidos {
width: 98%;
height: 100%;
padding: 0;
margin: 0 1%;
overflow: unset;
}
.libro{
width: 95%;
}
.libro a {
flex: 20%;
}
.libro-autor {
flex: 34%;
padding: 6% 0 0 2%;
}
.ultimos-libros{
width: 92%;
padding: 0;
margin: 5% 3%;
}
}