-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (89 loc) · 1.57 KB
/
Copy pathstyle.css
File metadata and controls
97 lines (89 loc) · 1.57 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
*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: sans-serif;
scroll-behavior: smooth;
box-sizing: border-box;
}
.container{
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0,0,0,0.3),transparent),url(esport.jpg);
background-size: cover;
background-position: center;
padding: 0 8%;
position: relative;
}
nav{
display: flex;
width: 100%;
align-items: right;
flex-wrap: wrap;
padding: 5px 0;
background: black;
}
nav ul{
flex: 1;
text-align: right;
padding-right: 30px;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 10px 30px;
position: relative;
}
nav ul li a{
display: block;
color: red;
text-decoration: none;
}
nav ul li:hover ul {
display: block;
}
nav ul li ul{
background: darkgreen;
display: none;
position: absolute;
}
nav ul li ul li {
float: none;
}
nav ul ul{
display: none;
}
nav ul li:hover > ul{
display: block;
}
.logo{
width: 120px;
cursor: pointer;
}
.text-box{
color: white;
position: absolute;
bottom: 8%;
}
.text-box p{
font-size: 50px;
font-weight: 600;
}
.text-box h1{
font-size: 190px;
line-height: 160px;
margin-left: -10px;
}
.text-box .row{
display: flex;
align-items: center;
flex-wrap: wrap;
margin-top: 30px;
}
.text-box a{
color: white;
text-decoration: none;
padding: 10px 20px;
margin-right: 20px;
border: 2px solid white;
}