diff options
Diffstat (limited to 'src/components/landing/sections/Resume.module.css')
-rw-r--r-- | src/components/landing/sections/Resume.module.css | 53 |
1 files changed, 48 insertions, 5 deletions
diff --git a/src/components/landing/sections/Resume.module.css b/src/components/landing/sections/Resume.module.css index 246ebec..fb576a1 100644 --- a/src/components/landing/sections/Resume.module.css +++ b/src/components/landing/sections/Resume.module.css | |||
@@ -1,9 +1,41 @@ | |||
1 | /* | 1 | /* |
2 | * SPDX-FileCopyrightText: 2023 Kristóf Marussy | 2 | * SPDX-FileCopyrightText: 2023-2024 Kristóf Marussy |
3 | * | 3 | * |
4 | * SPDX-License-Identifier: MIT | 4 | * SPDX-License-Identifier: MIT |
5 | */ | 5 | */ |
6 | 6 | ||
7 | .resume { | ||
8 | display: flow-root; | ||
9 | margin: 0 calc(var(--ifm-spacing-horizontal) * -1); | ||
10 | } | ||
11 | |||
12 | .resume__section { | ||
13 | width: 50%; | ||
14 | /* Floats don't let margins to merge, so we merge them manually. */ | ||
15 | margin-bottom: -1rem; | ||
16 | padding: 0 var(--ifm-spacing-horizontal); | ||
17 | } | ||
18 | |||
19 | .resume__section:nth-of-type(2n + 1) { | ||
20 | float: left; | ||
21 | clear: left; | ||
22 | } | ||
23 | |||
24 | .resume__section:nth-of-type(2n) { | ||
25 | float: right; | ||
26 | clear: right; | ||
27 | } | ||
28 | |||
29 | @media (max-width: 996px) { | ||
30 | .resume__section { | ||
31 | width: 100%; | ||
32 | /* No need to merge margins any more. */ | ||
33 | margin-bottom: 0; | ||
34 | float: none !important; | ||
35 | clear: none !important; | ||
36 | } | ||
37 | } | ||
38 | |||
7 | .cv { | 39 | .cv { |
8 | position: relative; | 40 | position: relative; |
9 | } | 41 | } |
@@ -36,6 +68,10 @@ | |||
36 | border-radius: 100em; | 68 | border-radius: 100em; |
37 | } | 69 | } |
38 | 70 | ||
71 | .cv__item--no-title::before { | ||
72 | top: 0.25rem; | ||
73 | } | ||
74 | |||
39 | [data-theme='dark'] .cv__item::before { | 75 | [data-theme='dark'] .cv__item::before { |
40 | background: var(--ifm-background-color); | 76 | background: var(--ifm-background-color); |
41 | } | 77 | } |
@@ -84,13 +120,13 @@ | |||
84 | --ifm-link-hover-color: var(--ifm-color-primary-light); | 120 | --ifm-link-hover-color: var(--ifm-color-primary-light); |
85 | } | 121 | } |
86 | 122 | ||
87 | .cv__awarddesc { | 123 | .cv__muted { |
88 | font-size: 0.875rem; | 124 | font-size: 0.875rem; |
89 | color: var(--ifm-color-emphasis-800); | 125 | color: var(--ifm-color-secondary-contrast-foreground); |
90 | } | 126 | } |
91 | 127 | ||
92 | [data-theme='dark'] .cv__awarddesc { | 128 | [data-theme='dark'] .cv__muted { |
93 | color: var(--ifm-color-emphasis-600); | 129 | color: var(--ifm-color-emphasis-500); |
94 | } | 130 | } |
95 | 131 | ||
96 | .cv__activities { | 132 | .cv__activities { |
@@ -106,6 +142,13 @@ | |||
106 | margin: 0; | 142 | margin: 0; |
107 | } | 143 | } |
108 | 144 | ||
145 | .thesis-rights__icon { | ||
146 | vertical-align: text-top; | ||
147 | width: 1em; | ||
148 | height: 1em; | ||
149 | margin-right: 0.125rem; | ||
150 | } | ||
151 | |||
109 | .thesis-links { | 152 | .thesis-links { |
110 | display: flex; | 153 | display: flex; |
111 | column-gap: 0.5rem; | 154 | column-gap: 0.5rem; |