-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathstyle.css
91 lines (91 loc) · 1.47 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
@import url('https://fonts.googleapis.com/css?family=Roboto:700&display=swap');
*{
padding: 0;
margin: 0;
}
.wrapper{
background: url("./hotel-gb259001cd_1920.jpg") no-repeat;
background-size: cover;
height: 100vh;
}
.navbar{
position: fixed;
height: 80px;
width: 100%;
top: 0;
left: 0;
background: rgba(0,0,0,0.4);
}
.navbar .logo{
width: 140px;
height: auto;
padding: 20px 100px;
}
.navbar ul{
float: right;
margin-right: 20px;
}
.navbar ul li{
list-style: none;
margin: 0 8px;
display: inline-block;
line-height: 80px;
}
.navbar ul li a{
font-size: 20px;
font-family: 'Roboto', sans-serif;
color: white;
padding: 6px 13px;
text-decoration: none;
transition: .4s;
}
.navbar ul li a.active,
.navbar ul li a:hover{
background: red;
border-radius: 2px;
}
.wrapper .center{
position: absolute;
left: 50%;
top: 55%;
transform: translate(-50%, -50%);
font-family: sans-serif;
user-select: none;
}
.center h1{
color: white;
font-size: 70px;
width: 900px;
font-weight: bold;
text-align: center;
}
.center h2{
color: white;
font-size: 70px;
font-weight: bold;
margin-top: 10px;
width: 885px;
text-align: center;
}
.center .buttons{
margin: 50px 280px;
}
.buttons button{
height: 50px;
width: 150px;
font-size: 18px;
font-weight: 600;
color: #ffb3b3;
background: red;
outline: none;
cursor: pointer;
border: 1px solid #cc0000;
border-radius: 25px;
transition: .4s;
}
.buttons .btn2{
margin-left: 100px;
}
.buttons button:hover{
background: #cc0000;
}