-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathyoutube.css
More file actions
99 lines (94 loc) · 1.68 KB
/
youtube.css
File metadata and controls
99 lines (94 loc) · 1.68 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
*{
font-family: sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
p{
font: weight 300 ;
color: #111;
}
.banner{
background: url(/restuarent.html) no-repeat;
background-size: cover;
align-items: center;
position: relative;
min-height: 100vh;
justify-content: center;
width: 100%;
display: flex;
opacity: 0.8;
}
.banner .content{
max-width: 900px;
text-align: center;
}
.banner .content h2{
font-size: 4em;
color:white;
}
.banner .content p{
font-size: 1em;
color: white;
}
.btn{
font-size: 1em;
background: #ff0157;
color: #fff;
display: inline-block;
margin:20px ;
text-decoration: none;
letter-spacing: 2px;
text-transform: uppercase;
transition: 0.5s;
}
.btn:hover{
letter-spacing: 6px;
}
header{
position: fixed;
width: 100%;
padding: 40px 10px;
z-index: 1;
display: flex;
transition: 0.5s;
align-items: center;
justify-content: space-between;
transition: 0.5s;
}
header.sticky{
background: #fff;
padding: 40px 100px;
box-shadow: 0 5px 20px rgba(0,0,0,00.5);
}
header .logo{
color: #fff;
font-weight: 700;
font-size: 2em;
text-decoration: none;
}
header.sticky .logo{
color: #111;
}
head.logo span{
color: #ff0157;
}
.navigation{
position: relative;
display: flex;
width: 550px;
}
li{
list-style: none
}
a{
color: white;
text-decoration: none;
font-weight: 400;
padding: 15px;
}
header.sticky .navigation li a{
color: #111;
}
header.navigation li a:hover{
}