mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-19 23:16:23 -04:00
refactor responsive SCSS using mixins
This commit is contained in:
1 parent
4dd67b6723
commit
4f7c01d600
16 files changed
+182
-164
No files matched your search
@@ -30,3 +30,21 @@ body#videos {
|
||||
font-family: inherit; // for subtitles
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Responsive
|
||||
@mixin responsive--videos() {
|
||||
body#videos {
|
||||
margin: 20px 0;
|
||||
|
||||
h1 {
|
||||
font-size: 1.6em;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
video {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user