-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
118 lines (106 loc) · 1.98 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
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Syne Mono', monospace;
}
body{
height: 100vh;
background: linear-gradient( to bottom, rgba(0,0,0,.4) 21%, rgba(240,246,218,.65) 87.4% ), url(./images/img1.jpg);
background-size: cover;
background-position: center;
}
header nav{
padding: 2em;
display: flex;
justify-content: space-between;
align-items: center;
}
header nav .logo h2{
color: #fff;
font-size: 2.5em;
}
header nav ul li{
list-style: none;
display: inline-block;
margin-right: 1em;
}
header ul li a{
text-decoration: none;
color: #fff;
font-size: 1.4em;
position: relative;
transition: .5s ease;
}
header ul li #active{
background: #eee;
color: #000;
border: 0;
outline: 0;
padding: .3em 1.5em;
border-radius: 150px;
}
header nav ul li a:hover{
background: #eee;
color: #000;
border: 0;
outline: 0;
padding: .3em 1.5em;
border-radius: 150px;
}
.container{
position: relative;
width: 80vw;
top: 40%;
left: 50%;
transform: translate(-50%,-40%);
text-align: center;
line-height: 1.5;
}
.container h1{
font-size: 6vw;
color: #fff;
}
.container p{
color: #fff;
margin-top: .7em;
font-weight: 100;
}
.container a{
text-decoration: none;
color: hsla(212,35%,95%,.8);
padding: .5em 1.5em;
margin-top: 20px;
display: inline-block;
border-radius: 150px;
background:hsla(212,15%,15%,.6);
font-size: 1.1em;
transition: .5s ease;
}
.container a:hover{
background: hsla(212,15%,15%,1);
color: #fff;
}
@media (max-width:570px){
header nav {
padding: 1.5em .5em;
}
header nav .logo h2{
font-size: 1.7em;
}
header nav ul li{
margin-right: .3em;
}
header nav ul li a{
font-size: .9em;
}
header nav ul li #active{
padding: .2em .9em;
}
header nav ul li a:hover{
padding: .2em .8em;
}
.container h1{
font-size: 2em;
}
}