Font changes

This commit is contained in:
ericb 2024-12-02 10:10:31 +01:00
parent fe6767a217
commit 980b3756dc
3 changed files with 16 additions and 24 deletions

View file

@ -1,9 +1,8 @@
/* latin */
@font-face {
font-family: 'Roboto Slab';
font-family: 'Lexend';
font-style: normal;
font-weight: 100 900;
font-display: block;
src: url(https://fonts.gstatic.com/s/robotoslab/v34/BngMUXZYTXPIvIBgJJSb6ufN5qWr4xCC.woff2) format('woff2');
src: url(https://fonts.gstatic.com/s/lexend/v23/wlpwgwvFAVdoq2_v-6QU82RHaA.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}

View file

@ -1,9 +1,9 @@
@import url('fonts/nunito.css');
@import url('fonts/roboto-slab.css');
@import url('fonts/lexend.css');
html {
color: rgba(53,53,53,1)!important;
font-size: 1em;
font-size: 1rem;
line-height: 1.15;
font-kerning: normal;
overflow-x: hidden;
@ -12,14 +12,12 @@ body {
font-family: var(--bs-body-font-family);
background-color: var(--background);
overflow-x: hidden;
font-size: 1.125rem;
letter-spacing: .125px;
/* -webkit-font-smoothing: antialiased; */
font-variant-ligatures: no-common-ligatures;
/* font-weight: 400; */
}
h1, h2, h3, h4{
font-family: 'Roboto Slab';
font-family: var(--bs-ttl-font-family);
}
/* ::selection, ::-moz-selection {
background-color: var(--grauwert3);
@ -34,14 +32,13 @@ h1, h2, h3, h4{
--accent:45,98%; /* hsl */
--accent-normal: hsl(var(--accent), 54%);
--accent-light: hsl(var(--accent), 75%);
--bs-btn-active-color: var(--grau);
--bs-btn-active-border-color: var(--grau);
--bs-btn-hover-bg: #f28705;
--bs-link-color: #f28705;
--bs-body-font-family: "Nunito", Arial, Tahoma, sans-serif;
--bs-body-font-family: 'Nunito', Arial, Tahoma, sans-serif;
--bs-ttl-font-family: 'Lexend', Arial, Tahoma, sans-serif;
--top-bar: 98px;
--bottom-bar: 5em;
--div-padding: 3rem;
--div-padding: 3em;
}
.top-bar{
height: var(--top-bar);
@ -58,9 +55,6 @@ h1, h2, h3, h4{
#mainNav, .offcanvas-backdrop{
top: var(--top-bar);
}
/* .offcanvas-body{
background-color: var(--accent-light);
} */
.offcanvas-header, .offcanvas-body{
padding: 1.625rem;
}
@ -122,6 +116,9 @@ h1, h2, h3, h4{
margin-top: var(--top-bar);
height: auto;
}
.hero .d-flex{
justify-content: center;
}
.hero .row{
justify-content: center !important;
align-items: flex-end !important;
@ -238,12 +235,11 @@ article li:not(:first-of-type){
color: darkgray;
}
.profile .user-avatar{
display: flex;
justify-content: center;;
text-align:center;
}
.user-avatar img{
width: 9em;
height: 9em;
width: 9rem;
height: 9rem;
object-fit: cover;
object-position: top;
border: 2px solid #f28705;
@ -378,7 +374,7 @@ footer a img{
/* media queries */
@media (width <= 576px) {
body{
font-size: 0.9rem;
font-size: 1.125rem;
}
:root{
--div-padding: 2em;
@ -416,9 +412,6 @@ footer a img{
h1, h2, h3, h4{
text-align: center;
}
.profile .user-avatar{
text-align: center;
}
.profile-options{
display: grid;
gap: 0 .5rem;

BIN
static/img/ban-3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 KiB