-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
72 lines (68 loc) · 1.12 KB
/
style.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'poppins', sans-serif;
}
.header{
width: 100%;
height: 100vh;
background-image: url('images/fondo.jpg');
background-position: center;
background-size: cover;
opacity: 1;
}
nav{
width: 100%;
padding: 10px 0;
text-align: center;
color: beige;
}
.logo{
width: 80px;
margin: 20px 0;
cursor: pointer;
}
nav ul {
width: 100%;
margin-top: 10px;
background-color:#000;
opacity: 0.8;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 10px 15px;
color: #fff;
position: relative;
}
nav ul li a{
text-decoration: none;
color:#fff;
font-family: 'Courier New', Courier, monospace;
font-size: 0.8rem;
}
a{
color: #fff;
font-size: 0.8em;
}
.text{
padding: 10px;
}
nav.sticky{
position: fixed;
top: 0;
left: 0;
padding: 10px 8%;
display: flex;
align-items: center;
justify-content: space-between;
transition: padding 1s;
}
nav.sticky ul{
width: 100%;
text-align: right;
}
body{
background-color: #000;
}