73 lines
1.3 KiB
SCSS
73 lines
1.3 KiB
SCSS
* {
|
|
-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: '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: #000;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.object {
|
|
position: absolute;
|
|
width: 10%;
|
|
cursor: move;
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
|
|
a {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 30%;
|
|
height: 30%;
|
|
cursor: pointer;
|
|
display: block;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
}
|
|
|
|
@for $i from 1 through 5 {
|
|
.object:nth-child(#{$i}){
|
|
left: random(90) + %;
|
|
top: random(90) + %;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1000px) {
|
|
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 999px) {
|
|
|
|
|
|
}
|
|
|