-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
142 lines (106 loc) · 1.74 KB
/
style.css
File metadata and controls
142 lines (106 loc) · 1.74 KB
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
*{
margin : 0;
padding : 0;
box-sizing: border-box;
}
body{
font-family : system-ui;
font-size : 62.5%;
font-size : 1rem;
background-color: #d2dbde;
}
header{
width : 100%;
max-width : 100vw;
min-width : 350px;
background-color: #296679;
}
nav{
display : flex;
justify-content: center;
}
nav ul{
display : flex;
list-style: none;
}
nav ul li a{
display : inline-block;
text-decoration: none;
font-size : 1rem;
color : #fff;
padding : 20px;
}
nav ul li a:hover,
nav summary:hover{
background-color: #558893;
width : 100%;
border-radius : 5px;
}
nav summary {
display : inline-block;
text-decoration: none;
padding : 20px;
font-size : 1rem;
color : #fff;
outline :none; /* QUITA EL BORDE AL HACER FOCUS*/
}
nav li{
position: relative;
}
nav ul .submenu{
display : none;
position : absolute;
flex-direction : column;
background-color: #296679;
width : 11.56rem;
z-index : 1000;
padding : 0;
}
nav ul li .padding{
padding: 10px;
}
nav ul li:hover .submenu{
display: flex;
}
main{
width : 100%;
min-width: 350px;
max-width: 100vw;
height : 90vh;
}
main section{
margin : 20px;
text-align: center;
}
main h1{
margin-top : 40px;
margin-bottom: 40px;
font-size : 1.2rem;
color : #000;
}
main section p{
font-size: 1.2rem;
}
footer {
width : 100%;
height : auto;
max-width : 100vw;
min-width : 350px;
padding : 20px;
display : inline-block;
text-align : center;
background-color: #296679;
}
footer p{
margin-bottom: 5px;
font-size : 1.2rem;
color : #fff;
}
footer img{
width : 45px;
padding: 0 10px 0 0;
}
footer .imgfooter{
width : 160px;
margin-top: 10px;
}