-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
125 lines (125 loc) · 3 KB
/
styles.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
/* Add this CSS for small screens */
@media (max-width: 768px) {
html { overflow-y: auto !important; }
.photo-text-container {
height: 100vh;
position: relative;
}
.photo {
display: block;
width: 100%;
height: 100%;
object-fit: fill;
}
.text-box {
position: absolute !important;
padding: 2rem;
box-sizing: border-box;
}
.text-box mark {
background-color: white;
}
.text-box h1 {
font-size: 4rem;
}
.cv-content {
padding-top: auto !important;
}
.back-up {
display: none !important;
}
section {
min-height: 50vh !important;
padding: 2rem !important;
border: solid;
border-width: 1px;
border-color: white;
margin-bottom: 1rem;
}
}
/* Other screen sizes */
.sticky-column {
position: sticky;
top: 0;
height: 100vh; /* Adjust as needed */
overflow-y: hidden; /* Add scrollbar if content exceeds height */
}
.photo {
width: 100%;
height: 100vh;
object-fit: cover; /* Maintain aspect ratio */
}
.text-box {
height: auto;
width: auto;
position: absolute;
bottom: 0;
left: 0;
padding: 0rem;
box-sizing: border-box;
}
.text-box mark {
background-color: white;
}
.text-box h1 {
font-size: 4rem;
}
.navbar {
position: fixed;
width: 50%;
z-index: 999;
}
section {
padding-top: 100px;
min-height: 100vh;
position: relative;
}
.back-up {
position: absolute;
bottom: 0;
right: 1;
color: white;
padding: 0.5rem;
}
html {
scroll-behavior: smooth;
max-width: 100%;
overflow-y: auto;
overflow-x: hidden;
}
h1 { font-family: 'Gloock', serif; }
h2 {
text-align: right;
font-family: 'Space Mono', monospace;
font-size: x-large;
}
h3 {
font-family: 'Space Mono', monospace;
font-size: large;
text-align: right;
}
p, ul, li {
font-size: large;
font-family: 'EB Garamond';
}
/* Highlights */
.hl1 {
background: linear-gradient(180deg, transparent 66%, black 33%);
}
.hl2 {
color: black;
background: linear-gradient(180deg, transparent 10%, white 0%);
}
.icon {
height: 35px;
-webkit-filter: invert(1); /* safari 6.0 - 9.0 */
filter: invert(1);
}
.link {
height: 1.25rem;
border-radius: 50%;
background-color: white;
border: solid;
border-color: black;
border-width: 1.5px
}