mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 12:55:31 -04:00
refactor responsive SCSS using mixins
This commit is contained in:
@@ -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