This repository has been archived by the owner on Jul 6, 2024. It is now read-only.
forked from mhaidarhanif/demo.mhaidarhanif.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
171 lines (143 loc) · 2.36 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
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
:root {
--font-sans: "Inter", sans-serif;
--text-primary: hsla(200, 70%, 95%, 1);
--bg-primary: hsla(200, 70%, 50%, 1);
--bg-primary-hover: hsla(200, 70%, 60%, 1);
--bg-primary-focus: hsla(200, 70%, 40%, 1);
}
body {
font-family: var(--font-sans);
color: #333;
}
button {
cursor: pointer;
}
a {
text-decoration: none;
color: #333;
}
a:hover {
color: var(--bg-primary);
transition: all 0.2s ease-in-out;
}
ul {
list-style-type: none;
}
p {
line-height: 150%;
font-size: 1.2rem;
}
img {
width: 100%;
object-fit: contain;
}
textarea {
font-family: var(--font-sans);
}
.stack {
display: flex;
flex-wrap: wrap;
flex-direction: column;
gap: 80px;
}
.container {
margin: 0 auto;
padding: 0 10px;
max-width: 960px;
}
.contact.container {
display: flex;
justify-content: center;
}
.header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 30px 0;
flex-direction: column;
}
.logo {
font-family: "Anybody", sans-serif;
}
.navigation {
font-size: 20px;
}
.navigation-list {
display: flex;
flex-wrap: wrap;
gap: 40px;
font-weight: 700;
}
.section-heading {
text-align: center;
}
.brand-logos {
display: flex;
flex-wrap: wrap;
gap: 50px;
font-size: 3rem;
justify-content: center;
}
.footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
margin-top: 50px;
padding: 30px 0;
}
.copyright {
font-size: 16px;
font-weight: 700;
}
.socials {
font-size: 16px;
gap: 20px;
}
.contact-form {
width: 100%;
max-width: 420px;
display: flex;
flex-direction: column;
gap: 20px;
justify-content: center;
}
.contact-form .form-field {
display: flex;
flex-direction: column;
gap: 6px;
}
.contact-form,
.contact-form label,
.contact-form input,
.contact-form textarea {
font-size: 1.2rem;
}
.contact-form input,
.contact-form textarea {
padding: 6px 8px;
border-radius: 4px;
border: 1px solid #aaa;
}
.button {
padding: 8px 10px;
border-radius: 4px;
border: none;
background: var(--bg-primary);
color: var(--text-primary);
font-weight: bold;
font-size: 1.2rem;
transition: 0.25s all ease-in-out;
}
.button:hover {
background: var(--bg-primary-hover);
}
.button:focus {
background: var(--bg-primary-focus);
}
@media (min-width: 768px) {
.header {
flex-direction: row;
}
}