diff --git a/static/css/fonts/roboto-slab.css b/static/css/fonts/lexend.css similarity index 63% rename from static/css/fonts/roboto-slab.css rename to static/css/fonts/lexend.css index 720bf5e..491bcf9 100644 --- a/static/css/fonts/roboto-slab.css +++ b/static/css/fonts/lexend.css @@ -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; -} \ No newline at end of file +} diff --git a/static/css/main.css b/static/css/main.css index 680663c..ce22eea 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -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; diff --git a/static/img/ban-3.png b/static/img/ban-3.png new file mode 100644 index 0000000..be5a56d Binary files /dev/null and b/static/img/ban-3.png differ diff --git a/tandem-list.html b/tandem-list.html index 597b217..1f9fd72 100644 --- a/tandem-list.html +++ b/tandem-list.html @@ -88,10 +88,13 @@
-
+
-
-
+
+
+ +
+

Rechercher des TANDEMs

@@ -145,7 +148,7 @@
@@ -217,7 +220,7 @@
- XX profils correspondent à vos critères de recherche + XX profils correspondent à votre recherche