-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (109 loc) · 1.8 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
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
121
122
123
124
125
126
127
128
129
130
131
* {
margin: 0;
padding: 0;
}
:root {
--primary-color: #edf2fc;
--secondary-color: #212121;
}
.dark-theme {
--primary-color: #000106;
--secondary-color: #fff;
}
#icon {
width: 30px;
cursor: pointer;
}
nav ul {
flex: 1;
text-align: right;
}
.hero {
height: 100vh;
width: 100%;
background: var(--primary-color);
font-family: sans-serif;
position: relative;
}
nav {
width: 84%;
margin: auto;
padding: 20px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
width: 100px;
cursor: pointer;
}
nav ul li {
display: inline-block;
list-style: none;
margin: 10px 20;
}
nav ul li a {
text-decoration: none;
color: var(--secondary-color);
}
nav ul li a:hover {
color: #ff4321;
}
.info {
margin-left: 8%;
margin-top: 15%;
}
.info h1 {
font-size: 70px;
color: var(--secondary-color);
margin-bottom: 20px;
}
span {
color: #ff4321;
}
.info p {
color: var(--secondary-color);
line-height: 22px;
}
.info a {
background: var(--secondary-color);
padding: 10px 18px;
text-decoration: none;
color: var(--primary-color);
display: inline-block;
margin: 30px 0;
border-radius: 5px;
}
.img-box {
width: 45%;
height: 80%;
position: absolute;
bottom: 0;
right: 100px;
}
.img-box img {
height: 100%;
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
transition: bottom 1s, left 1s;
}
.img-box:hover .back-img {
bottom: 40px;
}
.img-box:hover .main-img {
left: 54%;
}
.social-links {
margin-left: 8%;
margin-top: 30px;
}
.social-links a {
font-size: 30px;
color: var(--secondary-color);
margin-right: 20px;
}
.social-links a:hover {
color: #ff4321;
}