-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
200 lines (167 loc) · 3.61 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
/* Reset styles for a more consistent base */
@font-face {
font-family: "Cera";
src: local("Cera-Bold"), url("./fonts/Cera-Bold.woff2") format("woff2"),
url("./fonts/Cera-Bold.woff") format("woff");
font-weight: Bold;
font-style: normal;
}
@font-face {
font-family: "Cera";
src: local("Cera-Regular"), url("./fonts/Cera-Regular.woff2") format("woff2"),
url("./fonts/Cera-Regular.woff") format("woff");
font-weight: normal;
font-style: normal;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
--bg-colordark: #1e1f28;
--bg-color: #edf2ff;
--text-color: #0d0c22;
--text-secondary: #7382ae;
--bg-color-links: #39a0f9;
--primary-color: #4263eb;
--primary-color-dark: #364fc7;
--bg-color-links-dark: #1e1f28;
--primary-color-dark: #a61e4d;
--bg-color-dark: #1a1b20;
--btn-red: #e40613;
--text-tuxa: #ececec;
}
/* Set body styles */
body {
font-family: "Cera", sans-serif;
color: #dddddd;
background-color: var(--bg-color-dark);
}
/* Center container element */
.container {
display: flex; /* Make container a flexbox */
flex-direction: column; /* Stack elements vertically */
align-items: center; /* Center elements horizontally */
margin: 0 auto; /* Center container horizontally */
max-width: 330px; /* Set a maximum width for responsiveness */
padding: 20px; /* Add some padding for better spacing */
}
img.avatar {
width: 100px;
height: 100px;
border-radius: 50%;
padding: 3.7px;
border: 2px solid var(--bg-color-links);
}
h1.name-profile {
margin-top: 1.5px;
margin-bottom: 8px;
font-size: 1.5rem;
}
p.role {
font-weight: 400;
font-size: 1rem;
opacity: 0.8;
margin-bottom: 2rem;
color: var(--text-secondary);
}
h1.role-title {
font-size: 2.2rem;
font-weight: 800;
margin-bottom: 2rem;
}
section p {
line-height: 1.4;
}
/* Style profile section */
.profile {
text-align: center; /* Center profile text */
margin-bottom: 20px; /* Add space after profile section */
}
/* Style section element */
section {
text-align: justify; /* Justify text for better readability */
margin-bottom: 3rem; /* Add space after section element */
}
a {
text-decoration: none;
}
/* Style projects and social sections */
.projects,
.social {
display: flex;
justify-content: center; /* Center elements horizontally */
margin-bottom: 80px; /* Add space after sections */
}
.projects {
display: flex;
flex-direction: column;
gap: 1.2rem;
margin-top: 3rem;
}
.projects img {
border: 1px solid var(--text-tuxa);
border-radius: 12px;
}
/* Buttom CV */
.btn-cv {
display: flex;
align-items: center;
justify-content: center;
border: none;
width: 333px;
height: 80px;
border-radius: 2px;
padding: 1rem 5rem;
background: var(--btn-red);
font-family: "Cera", sans-serif;
font-weight: 900;
font-size: 1rem;
gap: 8px;
text-align: center;
text-decoration: none;
color: #fff;
}
.btn-cv:hover {
background: var(--bg-color-links);
transition: 0.1s;
}
.btn-cv a {
text-decoration: none;
}
/* SOCIAL MEDIA LINKS */
.social {
display: flex;
align-items: flex-start;
gap: 48px;
margin-top: 6rem;
}
/* Style social icons */
.social-icons {
width: 24px;
height: 24px;
}
/* Style footer */
footer {
display: flex;
align-items: center;
justify-content: center;
font-weight: Bold;
line-height: 10px;
spacing: 5px;
font-size: 1rem;
opacity: 0.6;
margin-top: 1rem;
text-align: center;
padding: 2rem 0;
.heart-logo {
width: 16px;
margin: 0 0.5rem;
}
}
.heart {
width: 22px;
margin: 0 2px 0 1px;
}
/* Additional styling for responsiveness or specific elements can be added here */