mirror of
https://github.com/ConjureETS/Site.git
synced 2026-03-25 18:20:58 +00:00
Small Corrections (Navigation) + Start Splashscreen
This commit is contained in:
parent
a5e9022c23
commit
c535420311
2
public/css/main.min.css
vendored
2
public/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 913 B After Width: | Height: | Size: 1.1 KiB |
BIN
public/img/splashscreen.jpg
Normal file
BIN
public/img/splashscreen.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 707 KiB |
@ -2,30 +2,63 @@
|
|||||||
font-family: Roboto, SansSerif;
|
font-family: Roboto, SansSerif;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-container {
|
|
||||||
position: fixed;
|
|
||||||
top: -15px;
|
|
||||||
max-width: 500px;
|
|
||||||
max-height: 135px;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header.logo-container {
|
||||||
|
position: fixed;
|
||||||
|
top: -15px;
|
||||||
|
max-width: 500px;
|
||||||
|
max-height: 135px;
|
||||||
|
overflow: hidden;
|
||||||
|
z-index: 1000;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
section.full-height {
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
section#splashscreen {
|
||||||
|
padding: 0 !important;
|
||||||
|
|
||||||
|
.bg-img {
|
||||||
|
background-image: url('../img/splashscreen.jpg');
|
||||||
|
background-size: cover;
|
||||||
|
-webkit-filter: brightness(60%);
|
||||||
|
filter: brightness(60%);
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.splashscreen-text-container {
|
||||||
|
width: 100vw;
|
||||||
|
position: absolute;
|
||||||
|
top: 60%;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
font-size: 4.5rem;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.border-seperator {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
border-top: 5px solid white;
|
||||||
|
max-width: 900px;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
padding: 15px 0;
|
padding: 15px 0;
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
//vars
|
//vars
|
||||||
$fg: #00bcd4;
|
$fg: #115FA2;
|
||||||
$pi: 3.14;
|
$pi: 3.14;
|
||||||
|
|
||||||
//config
|
//config
|
||||||
@ -8,7 +8,7 @@ $menu-items-always-open: 3;
|
|||||||
$open-distance: 105px;
|
$open-distance: 105px;
|
||||||
$opening-angle: $pi*2;
|
$opening-angle: $pi*2;
|
||||||
$hamburger-spacing: 10px;
|
$hamburger-spacing: 10px;
|
||||||
$default-opacity: 0.75;
|
$default-opacity: 0.70;
|
||||||
$ball-spacing: 90px;
|
$ball-spacing: 90px;
|
||||||
|
|
||||||
%ball {
|
%ball {
|
||||||
@ -40,12 +40,13 @@ $ball-spacing: 90px;
|
|||||||
.menu {
|
.menu {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 5px;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
z-index: 1000;
|
||||||
|
|
||||||
.menu-open {
|
.menu-open {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
@import "../../node_modules/bulma/sass/utilities/_all.sass";
|
@import "../../node_modules/bulma/sass/utilities/_all.sass";
|
||||||
@import "../../node_modules/bulma/sass/base/_all.sass";
|
@import "../../node_modules/bulma/sass/base/_all.sass";
|
||||||
@import "../../node_modules/bulma/sass/grid/columns.sass";
|
@import "../../node_modules/bulma/sass/grid/columns.sass";
|
||||||
|
@import "../../node_modules/bulma/sass/layout/section.sass";
|
||||||
|
|
||||||
// Disable the widescreen breakpoint
|
// Disable the widescreen breakpoint
|
||||||
$widescreen-enabled: false;
|
$widescreen-enabled: false;
|
||||||
|
|||||||
@ -43,8 +43,18 @@
|
|||||||
</a>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="columns">
|
<main>
|
||||||
|
<section class="section full-height" id="splashscreen">
|
||||||
|
<div class="bg-img"></div>
|
||||||
|
<div class="splashscreen-text-container">
|
||||||
|
<h1>Laboratoire de médias interactifs</h1>
|
||||||
|
<div class="border-seperator"></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="section" id="apropos"></section>
|
||||||
|
<section class="section" id="activites"></section>
|
||||||
|
<section class="section" id="competitions"></section>
|
||||||
|
<section class="section" id="partenaires"></section>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user