indiescience/styles.css

219 lines
3.6 KiB
CSS
Raw Normal View History

2021-05-23 16:46:26 +02:00
@charset "UTF-8";
2021-05-14 23:39:06 +02:00
* {
-webkit-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");
}
@font-face {
font-family: 'HappyTimes';
src: url("fonts/happy-times-NG_regular_master.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;
}
.menu .buttonAboutus {
background: black;
color: white;
display: inline-block;
border-width: 1px;
border-style: solid;
border-radius: 3vw;
border-color: white;
padding: 0.5vw 1vw 0.5vw 1vw;
cursor: pointer;
}
.menu .buttonAboutus:hover {
background: white;
color: black;
}
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;
}
.object p {
/*opacity: 0;
transform: translateY(-50%);
transition: transform 500ms ease-in-out, opacity 300ms ease-in-out; */
display: none;
margin: 0;
}
.object:hover p {
/*opacity: 1;
transform: translateY(0);*/
display: block;
2021-05-14 23:39:06 +02:00
}
.object img {
width: 100%;
}
.object a {
position: absolute;
top: 50%;
left: 50%;
width: 30%;
height: 30%;
cursor: pointer;
display: block;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.landingPage {
position: absolute;
padding: 2vw 10vw 0 10vw;
background: black;
width: 100%;
height: 100%;
overflow: hidden;
color: white;
text-align: center;
font-family: Helvetica;
font-size: 1.2vw;
font-weight: normal;
}
.landingPage h1 {
font-family: Helvetica;
font-size: 300%;
font-weight: normal;
margin: 0 0 10w 0;
}
.landingPage .buttonEnter {
margin: 5% 0 0 0;
background: black;
color: white;
display: inline-block;
border-width: 1px;
border-style: solid;
border-radius: 3vw;
border-color: white;
padding: 0.5vw 1vw 0.5vw 1vw;
cursor: pointer;
}
.landingPage .buttonEnter:hover {
background: white;
color: black;
}
2021-05-14 23:39:06 +02:00
.object:nth-child(1) {
2021-05-23 16:46:26 +02:00
left: 69%;
top: 34%;
2021-05-14 23:39:06 +02:00
}
.object:nth-child(2) {
2021-05-23 16:46:26 +02:00
left: 22%;
top: 24%;
2021-05-14 23:39:06 +02:00
}
.object:nth-child(3) {
2021-05-23 16:46:26 +02:00
left: 38%;
top: 54%;
2021-05-14 23:39:06 +02:00
}
.object:nth-child(4) {
2021-05-23 16:46:26 +02:00
left: 30%;
top: 25%;
2021-05-14 23:39:06 +02:00
}
.object:nth-child(5) {
2021-05-23 16:46:26 +02:00
left: 56%;
top: 66%;
}
.april {
width: 30%;
position: absolute;
top: 20vw;
right: 20vw;
overflow: hidden;
}
.thoughtsWindows {
font-family: Helvetica;
font-size: 11pt;
font-weight: normal;
}
.thoughtsWindows .entête {
text-transform: uppercase;
font-size: 10pt;
background: black;
border-width: 1px;
border-style: solid;
color: white;
padding: 3px;
}
.thoughtsWindows .entête .titre {
text-align: left;
}
.thoughtsWindows .entête .date {
text-align: right;
}
.thoughtsWindows .texte {
font-family: HelveticaOblique;
background: white;
padding: 20px;
2021-05-14 23:39:06 +02:00
}
/*# sourceMappingURL=styles.css.map */