-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
143 lines (117 loc) · 2.48 KB
/
main.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
:root {
--main-text-color: #cac7c7;
--bg-color: #202020;
--content-box-bg-color: #414141;
}
body {
background-color: var(--bg-color);
color: var(--main-text-color);
font-family: helvetica;
font-size: 1.2em;
margin: auto;
max-width: 70em;
}
.content-box {
background-color: var(--content-box-bg-color);
padding: 1em;
margin: 1em;
border-radius: 0.5em;
}
.content-box:not(.titlebar) > div {
padding: 0.0em;
margin: 1.0em 0em 1em 0em;
}
.content-box:not(.titlebar) > div:first-child {
margin-top: 0em;
}
.content-box:not(.titlebar) > div:last-child {
margin-bottom: 0em;
}
.titlebar-divider {
border-bottom: 0.1em solid white;
}
.titlebar {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 3em;
min-width: min-content;
}
.titlebar #main-title {
font-size: 3.5em;
padding-bottom: 0.1em;
}
.titlebar #secondary-title {
font-size: 1.8em;
}
.titlebar #img-container {
width: 8em;
height: 8em;
flex-shrink: 0; /* TODO Do something better at high zoom */
background-image: url("./img/dan-512x512.jpg");
background-size: contain;
background-repeat: no-repeat;
border-radius: 0.5em;
}
.titlebar > .main-link-container a {
padding: 0.5em 1em 0.5em 1em;
border-radius: 0.5em;
}
.titlebar.content-box a {
color: var(--main-text-color);
display: block;
}
.titlebar.content-box a:hover {
text-shadow: none;
text-decoration: none;
outline: 0.1em solid var(--main-text-color);
}
nav {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 1.5em;
font-size: 1.4em;
}
.titlebar nav a {
padding: 0.35em;
border-radius: 0.3em;
}
.titlebar nav a.current {
outline: 0.1em solid var(--main-text-color);
}
.titlebar nav a:not(.current):hover {
outline: 0.06em solid var(--main-text-color);
}
.content-box a {
color: rgb(155, 155, 255);
text-decoration: none;
transition-property: text-shadow;
transition-duration: 0.25s;
}
.content-box a:hover {
text-shadow: rgb(155, 155, 255) 0em 0em 0.1em;
text-decoration: underline;
}
.content-box ul {
margin: 0em;
padding-left: 1.5em;
}
.content-box li {
margin: 0.4em 0em 0.4em 0em;
}
.content-box li:first-child {
margin-top: 0em;
}
.content-box li:last-child {
margin-bottom: 0em;
}
#sneaky::after {
content: "microsoft.com";
}
#sneaky::before {
content: "daniec";
}
@view-transition {
navigation: auto;
}