1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-15 17:44:43 +02:00

Fixing size-n width

This commit is contained in:
Luis
2017-06-02 00:03:00 +02:00
parent 0e54ccc4a2
commit 9c06479d9d
2 changed files with 8 additions and 8 deletions

View File

@@ -161,7 +161,7 @@ $sizes: 80, 70, 60, 50, 40, 30, 20;
@media (min-width: 1024px) {
@each $size in $sizes {
.size-#{$size} {
width: $size + '%';
width: $size * 1%;
}
}
}

View File

@@ -470,19 +470,19 @@ figure.alignleft {
/*=== div.size-60, img.size-50, h1.size-40, p.size-30... === */
@media (min-width: 1024px) {
.size-80 {
width: "80%"; }
width: 80%; }
.size-70 {
width: "70%"; }
width: 70%; }
.size-60 {
width: "60%"; }
width: 60%; }
.size-50 {
width: "50%"; }
width: 50%; }
.size-40 {
width: "40%"; }
width: 40%; }
.size-30 {
width: "30%"; }
width: 30%; }
.size-20 {
width: "20%"; } }
width: 20%; } }
pre,
code {