216 lines
3.4 KiB
CSS
216 lines
3.4 KiB
CSS
@font-face {
|
|
font-family: selectric;
|
|
src: url(/assets/fonts/selectric-light.ttf);
|
|
}
|
|
@font-face {
|
|
font-family: selectric;
|
|
src: url(/assets/fonts/selectric-light-italic.ttf);
|
|
font-style: italic;
|
|
}
|
|
@font-face {
|
|
font-family: archer;
|
|
src: url(/assets/fonts/archer-thin.otf);
|
|
}
|
|
@font-face {
|
|
font-family: archer;
|
|
src: url(/assets/fonts/archer-thin-italic.otf);
|
|
font-style: italic;
|
|
}
|
|
@font-face {
|
|
font-family: archer;
|
|
src: url(/assets/fonts/archer-book.otf);
|
|
font-weight: bold;
|
|
}
|
|
@font-face {
|
|
font-family: archer;
|
|
src: url(/assets/fonts/archer-book-italic.otf);
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
|
|
:root {
|
|
--background-color: #000000;
|
|
--text-color: #FFFFFF;
|
|
--text-color-dim: #C0C0C0;
|
|
}
|
|
|
|
.mobile-only {
|
|
display: none;
|
|
}
|
|
|
|
.print-only {
|
|
display: none;
|
|
}
|
|
|
|
.hide {
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
font-family: archer;
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
a {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
margin: 2em auto;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid var(--text-color);
|
|
}
|
|
|
|
.header .name {
|
|
font-family: selectric;
|
|
font-style: italic;
|
|
font-size: 4em;
|
|
}
|
|
|
|
.header .contact {
|
|
text-align: right;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.header, .body {
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.section .descriptor {
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.section .block {
|
|
margin: 0.5em;
|
|
}
|
|
|
|
.section .block.sidebar {
|
|
margin-left: 2em;
|
|
border-left: 1px solid var(--text-color);
|
|
padding-left: 1em;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 1em;
|
|
}
|
|
|
|
.section .block.sidebar .content {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.section .block .title {
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.section .block .content {
|
|
margin-top: 0.5em;
|
|
text-align: justify;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: circle;
|
|
padding-inline-start: 1.5em;
|
|
margin: 0;
|
|
}
|
|
|
|
ul.spaced li {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.proficiencies .block {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.icon {
|
|
width: 2em;
|
|
height: 2em;
|
|
}
|
|
|
|
@media (prefers-color-scheme:light) {
|
|
:root {
|
|
--background-color: #FFFFFF;
|
|
--text-color: #000000;
|
|
--text-color-dim: #333333;
|
|
}
|
|
}
|
|
|
|
/* Mobile styling */
|
|
@media (max-width:600px) {
|
|
.mobile-only {
|
|
display: inherit;
|
|
}
|
|
|
|
.mobile-hide {
|
|
display: none;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
margin: 2em 0;
|
|
}
|
|
|
|
.header {
|
|
display: block;
|
|
}
|
|
|
|
.header .name {
|
|
text-align: center;
|
|
}
|
|
|
|
.header .contact {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
}
|
|
|
|
.section .block.block.sidebar {
|
|
display: block;
|
|
}
|
|
|
|
strong, .title, .descriptor {
|
|
font-weight: inherit;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.body {
|
|
font-weight: bold;
|
|
color: var(--text-color-dim);
|
|
}
|
|
}
|
|
|
|
/* Large displays */
|
|
@media (min-width:1400px) {
|
|
.container {
|
|
max-width: 900px;
|
|
}
|
|
|
|
body {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
.print-only {
|
|
display: inherit;
|
|
}
|
|
|
|
.print-hide {
|
|
display: none;
|
|
}
|
|
} |