generated from baykalokandemir/personal-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-dark.css
215 lines (183 loc) · 3.92 KB
/
style-dark.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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
:root {
--main: #141414;
--shadow: #080808;
--light: #202020;
}
* {
padding: none;
border: none;
outline: none;
font-family: 'Source Sans Pro', sans-serif;
font-weight: 500;
text-rendering: geometricPrecision;
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
min-height: 100vh;
}
.wrapper {
display: grid;
grid-template-columns: 1fr;
background-color: var(--main);
grid-gap: 10rem;
min-height: 100vh;
padding: 5rem;
}
.card {
margin: auto;
display: grid;
grid-template-rows: 20fr 4fr 6fr 6fr 4fr;
background: linear-gradient(-45deg, rgba(0,0,0,0.22), rgba(255,255,255,0.05));
width: 100%;
height: 100%;
max-width: 26rem;
max-height: 40rem;
border-radius: 1.5rem;
box-shadow: -2rem -2rem 4rem var(--light),
2rem 2rem 4rem var(--shadow);
transition: 0.3s;
}
.card:hover {
transform: scale(1.02);
}
.card .text {
display: grid;
grid-template-rows: 2.5fr 1.5fr;
color: #DFDFDF;
margin: auto;
}
.card h1 {
text-transform: uppercase;
font-weight: 700;
padding-bottom: .35em;
}
.card h4 {
margin: auto;
font-weight: 400;
padding-bottom: .75em;
}
.pp {
max-width: 14rem;
margin: auto;
border-radius: 50%;
box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.2);
}
.resume-container {
margin: auto;
}
.btn-large {
height: 3rem;
width: 16rem;
border-radius: 1rem;
margin: auto;
transition: 0.3s;
/* background-size: 200% auto;
background: linear-gradient(145deg, #23B738, #177724);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent; */
background-color: var(--main);
color: #DFDFDF;
box-shadow: 0.5rem 0.5rem 2rem var(--shadow),
-0.5rem -0.5rem 2rem var(--light);
font-size: 1.35rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1rem;
}
.btn-large:hover {
box-shadow: 0.5rem 0.5rem 1rem var(--shadow),
-0.5rem -0.5rem 1rem var(--light);
cursor: pointer;
transform: scale(1.015);
}
.btn-large:active {
box-shadow: 0.5rem 0.5rem 1.1rem var(--shadow),
-0.5rem -0.5rem 1.1rem var(--light);
cursor: pointer;
transform: scale(1.007);
}
.other-btn {
margin: auto;
display: grid;
grid-gap: 2.75rem;
grid-template-columns: repeat(3, 1fr);
}
.btn-small {
width: 3rem;
height: 3rem;
border-radius: 1rem;
margin: auto;
color: #D5E3F0;
font-size: 1.4rem;
}
.btn-small:hover {
background-position: center;
cursor: pointer;
transform: scale(1.015);
}
.btn-small:active {
background-position: right center;
cursor: pointer;
transform: scale(1.007);
}
.btn-github {
color:#634C85;
background: var(--main);
box-shadow: inset 3px 3px 6px var(--shadow),
inset -3px -3px 6px var(--light);
}
.btn-linkedin {
color: #006BA3;
background: var(--main);
box-shadow: inset 3px 3px 6px var(--shadow),
inset -3px -3px 6px var(--light);
}
.btn-gmail {
color: #D33C30;
background: var(--main);
box-shadow: inset 3px 3px 6px var(--shadow),
inset -3px -3px 6px var(--light);
}
@media (max-width: 580px) {
.wrapper {
grid-gap: 5rem;
padding: 2rem;
}
.card {
max-width: 19.5rem;
max-height: 30rem;
border-radius: 1.5rem;
box-shadow: 1.5rem 1.5rem 3rem var(--shadow),
-1.5rem -1.5rem 3rem var(--light);
}
.card h1 {
padding-bottom: .6em;
font-size: 1.65em;
}
.card h4 {
padding-bottom: .6em;
}
.pp {
max-width: 10rem;
}
.btn-large {
height: 2.25rem;
width: 12rem;
border-radius: 0.75rem;
font-size: 1.15rem;
letter-spacing: 0.1rem;
}
.other-btn {
grid-gap: 2rem;
}
.btn-small {
width: 2.25rem;
height: 2.25rem;
border-radius: 0.75rem;
font-size: 1rem;
}
}