136 lines
2.6 KiB
CSS
136 lines
2.6 KiB
CSS
/* Font face */
|
|
@font-face {
|
|
font-family: 'Exo 2';
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: url('fonts/Nunito-Light.ttf');
|
|
/* IE9 Compat Modes */
|
|
src: local(''),
|
|
url('fonts/Nunito-Light.ttf') format('truetype'),
|
|
/* Safari, Android, iOS */
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Exo 2';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('fonts/Nunito-Regular.ttf');
|
|
/* IE9 Compat Modes */
|
|
src: local(''),
|
|
url('fonts/Nunito-Regular.ttf') format('truetype'),
|
|
/* Safari, Android, iOS */
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Exo 2';
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
src: url('fonts/Nunito-Medium.ttf');
|
|
/* IE9 Compat Modes */
|
|
src: local(''),
|
|
url('fonts/Nunito-Medium.ttf') format('truetype'),
|
|
/* Safari, Android, iOS */
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Exo 2';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
src: url('fonts/Nunito-SemiBold.ttf');
|
|
/* IE9 Compat Modes */
|
|
src: local(''),
|
|
url('fonts/Nunito-SemiBold.ttf') format('truetype'),
|
|
/* Safari, Android, iOS */
|
|
}
|
|
|
|
/* Light and dark converge */
|
|
:root {
|
|
--text-color: #{#000000};
|
|
--bg-color: #EFEFEF;
|
|
--primary-color: #2A7FB6;
|
|
--primary-bg-color: #E5E7EB;
|
|
--secondary-color: #fa6c32;
|
|
--secondary-bg-color: #e5e7eb;
|
|
--highlight-color: #2a7fb6;
|
|
--highlight-bg-color: #9fd3f0;
|
|
}
|
|
|
|
@media (prefers-color-schme: dark) {
|
|
:root {
|
|
--text-color: #ffffff;
|
|
--bg-color: #263238;
|
|
--primary-color: #9fd3f0;
|
|
--primary-bg-color: #455a64;
|
|
--secondary-color: #fc9c76;
|
|
--secondary-bg-color: #455a64;
|
|
--highlight-color: #9fd3f0;
|
|
--highlight-bg-color: #3b90c6;
|
|
}
|
|
}
|
|
|
|
/* Body of the page */
|
|
html {
|
|
font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
|
|
Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
|
|
}
|
|
|
|
body {
|
|
color: var(--text-color);
|
|
background-color: var(--bg-color);
|
|
}
|
|
|
|
.contents {
|
|
padding: 1rem 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
/* General text */
|
|
p,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-weight: 300;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* Heading */
|
|
|
|
h1 {
|
|
font-weight: 300;
|
|
font-size: 2.25rem;
|
|
margin: 0.25rem 0;
|
|
}
|
|
|
|
h2 {
|
|
font-weight: 300;
|
|
font-size: 1.5rem;
|
|
margin: 0.125rem 0;
|
|
}
|
|
|
|
a {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#newring {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
} |