indiescience/styles.scss

222 lines
4.1 KiB
SCSS
Raw Normal View History

2021-05-14 23:39:06 +02:00
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
font-smoothing: antialiased;
font-smooth: never;
-moz-font-smooth: never;
box-sizing: border-box;
}
@font-face {
font-family: 'Helvetica';
src: url('fonts/HelveticaLTStd-Roman.otf') format('opentype');
}
@font-face {
2021-05-23 16:46:26 +02:00
font-family: 'HelveticaOblique';
src: url('fonts/HelveticaLTStd-Obl.otf') format('opentype');
}
2021-05-14 23:39:06 +02:00
2021-05-23 16:46:26 +02:00
@font-face {
font-family: 'HappyTimes';
src: url('fonts/happy-times-NG_regular_master.otf') format('opentype');
}
// @font-face {
// font-family: 'Migra';
// src: url('fonts/MigraItalic-ExtralightItalic.otf') format('opentype');
// }
2021-05-14 23:39:06 +02:00
html{
height: 100%;
overflow: hidden;
}
2021-05-23 16:46:26 +02:00
.home{
2021-05-14 23:39:06 +02:00
margin: 0;
padding: 0;
2021-05-16 01:19:30 +02:00
background: black;
background-image: url(background.png);
background-position: center;
background-repeat: no-repeat;
background-size: contain;
2021-05-14 23:39:06 +02:00
width: 100%;
height: 100%;
overflow: hidden;
}
2021-05-23 16:46:26 +02:00
body{
margin: 0;
padding: 0;
background: black;
}
.menu {
font-family: Helvetica;
font-size: 9pt;
font-weight: normal;
.buttonAboutus{
background: rgb(0, 0, 0);
color: rgb(255, 255, 255);
display: inline-block;
border-width: 1px;
border-style: solid;
border-radius:3vw;
border-color: white;
padding: 0.5vw 1vw 0.5vw 1vw;
cursor: pointer;
&:hover {
background: rgb(255, 255, 255);
color: rgb(0, 0, 0);
}
}
}
2021-05-14 23:39:06 +02:00
.object {
position: absolute;
2021-05-23 16:46:26 +02:00
width: 10vw;
2021-05-14 23:39:06 +02:00
cursor: move;
color: white;
text-align: center;
font-family: Helvetica;
font-size: 1.2vw;
font-weight: normal;
p {
/*opacity: 0;
transform: translateY(-50%);
transition: transform 500ms ease-in-out, opacity 300ms ease-in-out; */
display: none;
margin: 0;
}
&:hover p {
/*opacity: 1;
transform: translateY(0);*/
display: block;
}
2021-05-14 23:39:06 +02:00
img {
width: 100%;
}
a {
position: absolute;
top: 50%;
left: 50%;
width: 30%;
height: 30%;
cursor: pointer;
display: block;
transform: translate(-50%, -50%);
}
}
.landingPage {
position: absolute;
padding: 2vw 10vw 0 10vw;
background: rgb(0, 0, 0);
width: 100%;
height: 100%;
overflow: hidden;
color: white;
text-align: center;
font-family: Helvetica;
font-size: 1.2vw;
font-weight: normal;
h1 {
font-family: Helvetica;
font-size: 300%;
font-weight: normal;
margin: 0 0 10w 0;
}
.buttonEnter {
// text-transform: uppercase;
margin: 5% 0 0 0;
background: rgb(0, 0, 0);
color: rgb(255, 255, 255);
display: inline-block;
border-width: 1px;
border-style: solid;
border-radius:3vw;
border-color: white;
padding: 0.5vw 1vw 0.5vw 1vw;
cursor: pointer;
&:hover {
background: rgb(255, 255, 255);
color: rgb(0, 0, 0);
}
}
}
2021-05-14 23:39:06 +02:00
@for $i from 1 through 5 {
.object:nth-child(#{$i}){
2021-05-23 16:46:26 +02:00
left: random(90) + % ;
top: random(90) + % ;
2021-05-14 23:39:06 +02:00
}
}
2021-05-23 16:46:26 +02:00
.april{
width: 30%;
position: absolute;
top: 20vw;
right: 20vw;
overflow: hidden;
}
.thoughtsWindows{
font-family: Helvetica;
font-size: 11pt;
font-weight: normal;
// cursor: move;
.entête{
text-transform: uppercase;
font-size: 10pt;
background: black;
border-width: 1px;
border-style: solid;
color: white;
padding: 3px;
.titre{
text-align: left;
}
.date{
text-align: right;
}
}
.texte{
font-family: HelveticaOblique;
background: white;
padding: 20px;
}
}
2021-05-14 23:39:06 +02:00
@media screen and (min-width: 1000px) {
}
@media screen and (max-width: 999px) {
}