-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (87 loc) · 1.42 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
*{
margin: 0;
padding: 0;
}
body{
background: linear-gradient(#200016,#10001f);
height: 100vh;
font-family: system-ui;
}
a{
text-decoration: none;
color: #fff;
}
header{
position: fixed;
width: 95%;
z-index: 100;
display: flex;
justify-content: space-between;
align-items: center;
margin: 30px;
}
header .logo{
font-size: 30px;
text-transform: uppercase;
}
header ul {
display: flex;
justify-content: center;
align-items: center;
list-style: none;
}
header ul li{
margin-right: 30px;
}
header ul li a{
padding: 6px 15px;
border-radius: 20px;
}
header ul li a:hover,.active{
background: #fff;
color: #200016;
}
.main{
position: relative;
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.main::after{
content: '';
position: absolute;
bottom: 0;
height: 100px;
width: 100%;
background: linear-gradient(to top,#200016,transparent);
}
.main img{
position: absolute;
width: 100%;
height: 100vh;
object-fit: cover;
}
#moon{
mix-blend-mode: screen;
transform: translateY(80px);
}
.nouvi{
color: #fff;
font-size: 25px;
text-transform: uppercase;
transform: translateY(-140px);
}
.content{
color: #fff;
padding: 30px;
}
.content h2{
margin: 20px;
font-size: 30px;
}
.content p{
margin: 20px;
}