-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
120 lines (104 loc) · 1.85 KB
/
index.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: rgb(108, 108, 109);
}
header {
font-family: sans-serif;
width: 100%;
height: 100vh;
}
nav {
width: 100%;
height: 100px;
display: flex;
justify-content: space-around;
align-items: center;
}
.logo {
font-size: 2em;
letter-spacing: 2px;
}
.menu a {
text-decoration: none;
color: black;
padding: 10px 20px;
font-size: 20px;
position: relative;
}
.menu a:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 0%;
height: 100%;
border-top: 2px solid black;
z-index: 1;
transition: 0.4s linear;
}
.menu a:hover:before {
width: 90%;
}
.login a {
text-decoration: none;
color: white;
background: black;
padding: 10px 20px;
border-radius: 8px;
transition: 0.4s;
}
.login a:hover {
background: transparent;
border: 1px solid black;
color: black;
}
#h-text {
width: 100%;
height: 70%;
display: flex;
justify-content: space-around;
align-items: center;
}
#h-text h1 {
font-size: 3em;
}
#h-text span {
color: skyblue;
}
#h-text a {
text-decoration: none;
background: black;
color: white;
letter-spacing: 5px;
padding: 10px 20px;
position: relative;
z-index: 1;
}
#h-text a:before {
content: '';
position: absolute;
top: 10px;
left: 10px;
width: 100%;
height: 100%;
border: 1px solid black;
background: skyblue;
z-index: -1;
}
#man {
position: absolute;
bottom: 0;
left: 350px;
height: 50%;
}
#himg {
box-shadow: 20px 10px 8px rgb(59, 59, 59);
border-radius: 13px;
height: 400px;
width: 100%;
opacity: 92%;
}