Skip to content

Commit 0815c61

Browse files
committed
fix: updated styles
1 parent 23cad97 commit 0815c61

File tree

1 file changed

+75
-8
lines changed

1 file changed

+75
-8
lines changed

assets/css/base.css

Lines changed: 75 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
@import "assets/css/navbar.css";
22
@import "assets/css/landing.css";
33
@import "assets/css/blog.css";
4-
@import "assets/css/work.css";
54
@import "assets/css/contact.css";
65
@import "assets/css/intro-animations.css";
76
/*@import "assets/fonts/Amiko/Amiko.css";*/
87

98
:root {
10-
--blue: #6066FF;
11-
--blue-alt: #90AFFF;
9+
--blue: #425BDA;
10+
--blue-alt: #8D9ADC;
1211
--blue-outline: #787dff;
1312
--gradient-blue: linear-gradient(var(--blue-alt), var(--blue));
14-
--pink: #A660FF;
15-
--pink-alt: #C190FF;
13+
--pink: #C655B4;
14+
--pink-alt: #F6A4E9;
1615
--gradient-pink: linear-gradient(var(--pink-alt), var(--pink));
17-
--purple: #8263FF;
18-
--purple-alt: #AAA0FF;
16+
--purple: #753F9E;
17+
--purple-alt: #CF93FC;
1918
--gradient-purple: linear-gradient(var(--purple-alt), var(--purple));
2019
--black: #111014;
2120
--black-50: rgba(17, 16, 20, 0.5);
@@ -62,6 +61,18 @@ body.light .white-path {
6261
fill: var(--white-alt-lighter) !important;
6362
}
6463

64+
.grid {
65+
margin-top: 1em;
66+
display: grid;
67+
grid-template-columns: 1fr 1fr 1fr;
68+
align-items: start;
69+
width: 100%;
70+
}
71+
72+
.grid.gap {
73+
gap: .5em;
74+
}
75+
6576
.light {
6677
color: var(--white);
6778
}
@@ -109,7 +120,7 @@ b {
109120

110121
.image img {
111122
width: 100%;
112-
border-radius: 5px;
123+
border-radius: 12px;
113124
border: .55px var(--black-dark-alt) solid;
114125
}
115126

@@ -181,6 +192,33 @@ figcaption {
181192
font-family: "Amiko", sans-serif;
182193
}
183194

195+
.drawer a.open, .techno a.open {
196+
display: flex;
197+
justify-content: center;
198+
align-items: center;
199+
color: var(--white) !important;
200+
width: 32px;
201+
height: 32px;
202+
border-radius: 50%;
203+
background: var(--black-alt);
204+
border: .55px var(--black-dark-alt) solid;
205+
position: absolute;
206+
transform: translate(700%, 10%);
207+
}
208+
209+
.drawer.media:hover {
210+
transition: .3s ease-in-out;
211+
transform: translateY(-5%);
212+
}
213+
214+
.drawer.media.outlined {
215+
filter: grayscale(100%);
216+
}
217+
218+
.drawer.media.outlined:hover {
219+
filter: grayscale(0);
220+
}
221+
184222
.drawer.outlined {
185223
border: 2px var(--black-dark-alt) dashed;
186224
/*background: transparent;*/
@@ -277,6 +315,35 @@ figcaption {
277315
height: 1.5em;
278316
}
279317

318+
.drawer[draggable] {
319+
cursor: grab;
320+
touch-action: none;
321+
}
322+
323+
.drawer.media[draggable] img {
324+
user-drag: none;
325+
-webkit-user-drag: none;
326+
user-select: none;
327+
-moz-user-select: none;
328+
-webkit-user-select: none;
329+
-ms-user-select: none;
330+
pointer-events: none;
331+
}
332+
333+
.drawer.dragging {
334+
cursor: grabbing;
335+
color: transparent !important;
336+
border: 2px var(--black-dark-alt) dashed !important;
337+
}
338+
339+
.drawer.dragging h2, .drawer.dragging p, .drawer.dragging img {
340+
color: transparent !important;
341+
content: '';
342+
background-color: var(--black-alt);
343+
visibility: hidden;
344+
}
345+
346+
280347
.socials {
281348
margin-top: 1em;
282349
display: flex;

0 commit comments

Comments
 (0)