moving assets/style -> style

This commit is contained in:
tmshv committed 2016-02-20 17:12:15 +03:00
1 parent 68eaaf2338
commit 17dcbcc981
21 files changed
+1 -1

No files matched your search

+89
View File
@@ -0,0 +1,89 @@
.tape-block{
width: 60%;
max-width: 1000px;
margin: 2em auto;
&.simplified{
.tape{
display: none;
}
}
}
.tape-block__body{
position: relative;
width: 100%;
.tape {
width: 98px;
height: 98px;
position: absolute;
z-index: 10;
}
.tape-tl {
top: -25px;
left: -25px;
background-image: url(/graphics/tape-tl.png);
}
.tape-tr {
top: -25px;
right: -25px;
background-image: url(/graphics/tape-tr.png);
}
.tape-bl {
bottom: 0;
left: -25px;
background-image: url(/graphics/tape-lb.png);
}
.tape-br {
bottom: 0;
right: -25px;
background-image: url(/graphics/tape-rb.png);
}
}
@media screen and (max-device-width: 31.25em) {
.tape-block {
width: 90%;
margin: 1.5em auto;
}
.tape-block__body {
.tape {
width: 62px;
height: 62px;
position: absolute;
z-index: 10;
}
.tape-tl {
top: -20px;
left: -20px;
background-image: url(/graphics/m-tape-tl.png);
background-size: 100%;
}
.tape-tr {
top: -20px;
right: -20px;
background-image: url(/graphics/m-tape-tr.png);
}
.tape-bl {
bottom: 10px;
left: -20px;
background-image: url(/graphics/m-tape-bl.png);
}
.tape-br {
bottom: 10px;
right: -20px;
background-image: url(/graphics/m-tape-br.png);
}
}
}