-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
112 lines (96 loc) · 1.85 KB
/
styles.css
File metadata and controls
112 lines (96 loc) · 1.85 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
100
101
102
103
104
105
106
107
108
109
110
111
112
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header{
width: 100%;
height: 100vh;
background:linear-gradient(rgba(37, 54, 85, 0.8),rgba(0,0,0,0.2)),
url('img/BgRoom.jpg');
background-size: cover;
font-family: sans-serif;
}
nav{
width: 100%;
height: 100px;
color: white;
display: flex;
justify-content: space-around;
align-items: center;
}
.logo{
font-size: 2em;
letter-spacing: 2px;
}
.menu a{
text-decoration: none;
color: white;
padding: 10px 20px;
letter-spacing: 2px;
font-size: 20px;
position: relative;
}
.menu a:before{
content: '';
position: absolute;
top: 0;
left: 0;
width: 0%;
height: 100%;
border-bottom: 2px solid #294459;
transition: 0.4s linear;
}
.menu a:hover:before{
width: 90%;
}
.register a{
text-decoration: none;
color: white;
padding: 10px 20px;
letter-spacing: 2px;
font-size: 20px;
background: #294459;
border-radius: 8px;
transition: 0.4s;
}
.register a:hover{
background: transparent;
border: 1px solid #294459;
}
.h-txt{
max-width: 650px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: white;
}
.h-txt span{
letter-spacing: 2px;
}
.h-txt h1{
font-size: 3.5em;
}
.h-txt a{
text-decoration: none;
color: white;
padding: 10px 20px;
letter-spacing: 2px;
font-size: 20px;
background: #294459;
border-radius: 8px;
transition: 0.4s;
}
.h-txt a:hover{
background: transparent;
border: 1px solid #294459;
}
footer {
background-color: #294459;
color: #fff;
text-align: center;
padding: 20px 0;
font-family: sans-serif;
}