-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (69 loc) · 1.42 KB
/
style.css
File metadata and controls
78 lines (69 loc) · 1.42 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
header{
width: 50;
height: 100vh;
background:linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(abc.jpg);
background-size: cover;
font-family: 'poppins',sans-serif;
}
nav{
width: 100%;
height: 100px;
color: #fff;
display: flex;
justify-content: space-around;
align-items: center;
}
.logo{
font-size: 2em;
letter-spacing: 2px;
}
.menu a{
text-decoration: none;
color: #fff;
padding: 10px 20px;
font-size: 20px;
}
.register{
text-decoration: none;
color: #fff;
padding: 10px 20px;
font-size: 20px;
border-radius: 8px;
background: rgb(106, 82, 106);
}
.register a:hover{
border: 1px solid indianred;
background: transparent;
}
.h-text{
position: absolute;
top: 50%;
left: 50%;
max-width: 650px;
transform: translate(-50%,-50%);
text-align: center;
color: #fff;
}
.h-text span{
letter-spacing: 5px;
}
.h-text h1{
font-size: 3.5rem;
}
.h-text a{
text-decoration: none;
background: indianred;
color: #fff;
padding: 10px,20px;
letter-spacing: 5px;
}
.h-text a:hover{
border: 1px solid indianred;
background: transparent;
}