-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
181 lines (160 loc) · 2.74 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
font-size: 62.5%;
}
html,
body{
font-family: "Inter", sans-serif;
font-weight: 300;
line-height: 1.4;
scroll-behavior: smooth;
}
body{
font-size: 1.4rem;
}
ul{
list-style: none;
}
header{
position: sticky;
top: 0;
background: #fff;
}
nav{
display: flex ;
padding: 1rem;
max-width: 1200px;
margin: 0 auto;
flex-direction: row;
justify-content: space-between ;
}
nav ul{
display: flex;
gap: 2rem;
}
nav ul li{
font-size: 1.8rem;
}
nav ul li:hover{
border-bottom: rgb(171, 171, 171) 2px solid;
}
nav i{
font-size: 2.5rem;
}
main{
max-width: 1200px ;
margin: 0 auto;
}
/* Hero section */
#hero{
display: flex;
justify-content: space-between;
align-items: center;
}
.hero_content h1{
font-size: 6rem;
line-height: 1.2;
}
.hero_content h4{
font-size: 2.5rem;
font-weight: 300;
}
.hero_image img{
border-radius: 5rem;
}
/* long car section */
.h-card{
display: flex;
margin: 2rem 1rem;
align-items: center;
border: 1px solid #e2e2e2;
border-radius: 0.5rem;
overflow: hidden;
box-shadow: 0px 5px 4px rgba(221,221,221,0.25);
}
.card-content{
padding: 2rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
status{
display: flex;
justify-content: space-between;
}
.read-btn{
all: unset;
font-weight:600 ;
border-bottom: 1px solid transparent;
}
.read-btn:hover{
border-bottom: 1px solid #ccc;
}
/* v-card */
.v-card{
display: flex;
flex-direction: column-reverse;
max-width: 320px;
align-items: center;
border: 1px solid #e2e2e2;
border-radius: 0.5rem;
overflow: hidden;
box-shadow: 0px 5px 4px rgba(221,221,221,0.25);
}
.card_container{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.card_wrapper{
display: flex;
justify-content: center;
}
.v-card img{
width: 100%;
height: 100%;
}
footer{
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
max-width: 1200px;
margin: 0 auto;
}
footer ul{
display: flex;
gap: 2rem;
}
footer ul li{
font-size: 1.8rem;
}
/* post */
.banner_image img{
width: 100%;
}
.post h1{
font-size: 3rem;
}
.post hr{
margin: 3rem 0;
}
.about_author{
display: flex;
gap: 1rem;
align-items: center;
}
article{
display: flex;
flex-direction: column;
gap: 3rem;
margin-bottom: 2rem;
}
a{
text-decoration: none;
color: #000;
}