Compare commits

..

2 commits

Author SHA1 Message Date
980b3756dc Font changes 2024-12-02 10:10:31 +01:00
fe6767a217 Added visual in hero 2024-12-02 10:10:09 +01:00
4 changed files with 24 additions and 29 deletions

View file

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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 KiB

View file

@ -88,10 +88,13 @@
</header> </header>
<main data-screen="search"> <main data-screen="search">
<div class="hero hero-secondary container-fluid"> <div class="hero hero-primary container-fluid">
<div class="d-flex"> <div class="d-flex">
<div class="container"> <div class="row">
<div class="col-lg-8"> <div class="col-lg-6 bottom-anchored order-2 order-lg-1 ">
<img class="img-fluid" src="static/img/ban-3.png">
</div>
<div class="col-lg-6 order-1 order-lg-2">
<h1 class="display-5 fw-bold lh-1 mb-3 mb-lg-5">Rechercher des TANDEMs</h1> <h1 class="display-5 fw-bold lh-1 mb-3 mb-lg-5">Rechercher des TANDEMs</h1>
</div> </div>
</div> </div>
@ -145,7 +148,7 @@
<section id="tandem-list" class="col-lg-8"> <section id="tandem-list" class="col-lg-8">
<div class="ui-btn"> <div class="ui-btn">
<a data-bs-toggle="collapse" href="#search-filters" role="button" aria-expanded="false" aria-controls="search-filters"><span><img class="icon-ui" src="static/img/icons/filters.svg" alt=""></span>Afficher les filtres</a> <a data-bs-toggle="collapse" href="#search-filters" role="button" aria-expanded="false" aria-controls="search-filters"><span><img class="icon-ui" src="static/img/icons/filters.svg" alt=""></span>Filtrer</a>
</div> </div>
<div id="search-filters" class="collapse"> <div id="search-filters" class="collapse">
<form> <form>
@ -217,7 +220,7 @@
</form> </form>
</div> </div>
<div id="search-total-results" class="alert alert-warning mt-3"> <div id="search-total-results" class="alert alert-warning mt-3">
XX profils correspondent à vos critères de recherche XX profils correspondent à votre recherche
</div> </div>
<div id="tandem-search-results"> <div id="tandem-search-results">