welcome update

This commit is contained in:
vincent.md 2023-03-22 17:05:44 -04:00
parent bfee1e3660
commit 7a1825b599
9 changed files with 27 additions and 12 deletions

View File

@ -1,7 +1,7 @@
#welcome { #welcome {
margin-top: var(--nav-height); margin-top: var(--nav-height);
padding: 0; padding: 0;
background: url("/media/images/welcome-background-1080p.jpg") center; background: url("/media/images/welcome-background-1080p.webp") center;
background-size: cover; background-size: cover;
height: calc(100vh - var(--nav-height)); height: calc(100vh - var(--nav-height));
display: flex; display: flex;
@ -17,12 +17,19 @@
} }
#welcome h1 { #welcome h1 {
margin-right: 20%; margin: 1rem 20% 1rem 1rem;
padding: 2rem; border: solid 0.25rem #5791FF;
border-radius: 50px;
padding: 0.5rem 1.25rem;
background-color: black;
} }
#welcome h4 { #welcome h4 {
margin: 0 0 0 20%; margin: 0 0 0 20%;
border: solid 0.25rem #5791FF;
border-radius: 50px;
padding: 0.5rem 1.25rem;
background-color: black;
} }
#scroll-down { #scroll-down {
@ -37,18 +44,20 @@
} }
@media only screen and (max-width: 1280px) { @media only screen and (max-width: 1280px) {
#welcome .container { #welcome {
background: url("/media/images/welcome-background-720p.jpg") center; background: url("/media/images/welcome-background-720p.webp") center;
background-size: cover;
} }
#welcome h4 { #welcome h4 {
margin: 2rem; margin: 2rem;
} }
#welcome h1 { #welcome h1 {
margin: 0; margin: 1rem;
} }
} }
@media only screen and (max-width: 500px) { @media only screen and (max-width: 500px) {
#welcome .container { #welcome {
background: url("/media/images/welcome-background-mobile.jpg") center; background: url("/media/images/welcome-background-mobile.webp") center;
background-size: cover;
} }
} }

View File

@ -113,13 +113,18 @@ section {
padding: 5rem 0 5rem 0; padding: 5rem 0 5rem 0;
} }
/* CUSTOM */ /* CUSTOM */
span { span {
color: var(--text-color-2); color: var(--text-color-2);
} }
h1 .q {
height: 3rem;
width: 3rem;
margin: 0 0.1rem;
}
.link { .link {
text-decoration: underline; text-decoration: underline;
color: var(--text-color-2); color: var(--text-color-2);

BIN
media/images/Q.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -41,10 +41,11 @@
</header> </header>
<section id="welcome"> <section id="welcome">
<h1> <h1>
The Tele<span>Q</span>om Project <!-- The Tele<span>Q</span>om Project -->
Tele<img class="q" src="/media/images/Q.png">om Project
</h1> </h1>
<h4> <h4>
Telecommunications with <span>Québec</span>'s Values Telecommunications with <span>Québec</span>'s values
</h4> </h4>
<a href="#about" id="scroll-down"> <a href="#about" id="scroll-down">
<img src="/media/images/down.png" alt="Icone defilement"> <img src="/media/images/down.png" alt="Icone defilement">

View File

@ -41,7 +41,7 @@
</header> </header>
<section id="welcome"> <section id="welcome">
<h1 class="welcome-title"> <h1 class="welcome-title">
Le Projet Tele<span>Q</span>om Projet Tele<span>Q</span>om
</h1> </h1>
<h4 class="welcome-text"> <h4 class="welcome-text">
La Télécommunication aux Valeurs <span>Québécoises</span> La Télécommunication aux Valeurs <span>Québécoises</span>