indiescience/styles.css
2021-05-16 01:19:30 +02:00

83 lines
No EOL
1.4 KiB
CSS

* {
-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: 'Alpina-Italic';
src: url('fonts/GT-Alpina-Typewriter-Light-Italic.woff') format('woff'),
url('fonts/GT-Alpina-Typewriter-Light-Italic.woff2') format('woff2');
}*/
html {
height: 100%;
overflow: hidden;
}
body {
margin: 0;
padding: 0;
background: black;
background-image: url(background.png);
background-position: center;
background-repeat: no-repeat;
background-size: contain;
width: 100%;
height: 100%;
overflow: hidden;
}
.object {
position: absolute;
width: 10%;
cursor: move;
}
.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%);
}
.object:nth-child(1) {
left: 73%;
top: 30%;
}
.object:nth-child(2) {
left: 59%;
top: 18%;
}
.object:nth-child(3) {
left: 11%;
top: 54%;
}
.object:nth-child(4) {
left: 3%;
top: 10%;
}
.object:nth-child(5) {
left: 29%;
top: 43%;
}
/*# sourceMappingURL=styles.css.map */