kazimir styles -> to css

This commit is contained in:
tmshv committed 2020-02-20 19:07:23 +03:00
1 parent 3dbc1e6098
commit d144eb9cb5
5 files changed
+21 -22

No files matched your search

+2
View File
@@ -1,4 +1,6 @@
import 'src/style.css'
import 'src/style/kazimir/image.css'
import 'src/style/kazimir/video.css'
import 'src/style/style.scss'
import App from 'next/app'
@@ -1,12 +1,13 @@
.kazimir__image {
--kazimir-caption-margin: 20px;
}
p {
.kazimir__image p {
margin-left: 0;
margin-right: 0;
}
img {
.kazimir__image img {
border-radius: 3px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
@@ -14,11 +15,11 @@
max-height: 35em;
}
figure {
.kazimir__image figure {
margin: 0 0 var(--single-margin);
}
figcaption {
.kazimir__image figcaption {
margin-left: var(--kazimir-caption-margin);
font-size: 16px;
@@ -27,7 +28,6 @@
font-weight: 100;
}
}
@media screen and (max-width: var(--mobile-width)) {
.kazimir__image {
+14
View File
@@ -0,0 +1,14 @@
.kazimir__video {
width: 100%;
height: 0;
position: relative;
padding-bottom: var(--embed-video-ratio);
margin-bottom: var(--single-margin);
}
.kazimir__video iframe {
width: 100%;
height: 100%;
position: absolute;
}
-14
View File
@@ -1,14 +0,0 @@
.kazimir__video {
width: 100%;
height: 0;
position: relative;
padding-bottom: var(--embed-video-ratio);
margin-bottom: var(--single-margin);
iframe {
width: 100%;
height: 100%;
position: absolute;
}
}
-3
View File
@@ -16,6 +16,3 @@
@import "themes/theme-default";
@import "marker/MarkerTable";
@import "kazimir/video";
@import "kazimir/image";