etwas Styling: Font und Farbe

This commit is contained in:
Ludger Sicking 2024-10-15 12:47:02 +02:00
parent abee1238d7
commit 12f38f285b
3 changed files with 51 additions and 0 deletions

Binary file not shown.

51
sb/assets/css/custom.css Normal file
View file

@ -0,0 +1,51 @@
@font-face {
font-family: 'Roboto Condensed';
src: url('RobotoCondensed-VariableFont_wght.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Roboto Condensed Italic';
src: url('RobotoCondensed-Italic-VariableFont_wght.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
body {
font-family: 'Roboto Condensed', sans-serif;
font-size: 18px;
line-height: 1.6;
word-break: break-word;
background: var(--theme);
}
:root {
--gap: 24px;
--content-gap: 20px;
--nav-width: 1024px;
--main-width: 720px;
--header-height: 60px;
--footer-height: 60px;
--radius: 8px;
--theme: rgb(255, 255, 255);
--entry: rgb(255, 255, 255);
--primary: #203a8f;
--secondary: #ffa500;
--tertiary: rgb(214, 214, 214);
--content: #333;
--code-block-bg: #771133;
--code-bg: #f0f8ff;
--border: #d3d3d3;
}
.dark {
--theme: rgb(29, 30, 32);
--entry: rgb(46, 46, 51);
--primary: rgb(218, 218, 219);
--secondary: rgb(155, 156, 157);
--tertiary: rgb(65, 66, 68);
--content: rgb(196, 196, 197);
--code-block-bg: rgb(46, 46, 51);
--code-bg: rgb(55, 56, 62);
--border: rgb(51, 51, 51);
}