diff --git a/inc/css-generator.php b/inc/css-generator.php index af76ab9e..34d2aa54 100644 --- a/inc/css-generator.php +++ b/inc/css-generator.php @@ -240,6 +240,7 @@ function hovercraft_generate_css(){ } } + /* body frozen (triggered by offcanvas menu js) */ body.frozen { @@ -249,26 +250,6 @@ function hovercraft_generate_css(){ /* misc */ -blockquote { - margin: 30px 0px 30px 30px; - padding: 20px 30px; - border-left: 5px solid #ECEFF1; - color: #607D8B; -} - -blockquote p { - font-size: 18px; - line-height: 2; -} - -blockquote p:last-child { - margin-bottom: 0; -} - -blockquote .wp-caption-text { - <?php if ( $blockquote_captions == 'none') { echo "display: none;"; } ?> -} - strong { font-weight: 700; } @@ -277,6 +258,9 @@ function hovercraft_generate_css(){ font-style: italic; } + +/* paragraphs */ + @media screen and (max-width: 1200px) { p { margin-bottom: 20px; @@ -289,6 +273,10 @@ function hovercraft_generate_css(){ } } +.clear { + clear: both; +} + /* general */ @@ -328,8 +316,46 @@ function hovercraft_generate_css(){ } } -.clear { - clear:both; + +/* unordered and ordered lists */ + +ul { + list-style-position: inside; +} + +ol { + list-style-position: inside; +} + +li { + line-height: 2; +} + +ol > li::marker { + font-weight: 700; +} + + +/* blockquotes */ + +blockquote { + margin: 30px 0px 30px 30px; + padding: 20px 30px; + border-left: 5px solid #ECEFF1; + color: #607D8B; +} + +blockquote p { + font-size: 18px; + line-height: 2; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote .wp-caption-text { + <?php if ( $blockquote_captions == 'none') { echo "display: none;"; } ?> } @@ -376,21 +402,6 @@ function hovercraft_generate_css(){ } } -ul { - list-style-position: inside; -} - -ol { - list-style-position: inside; -} - -li { - margin-bottom: 5px; -} - -ol > li::marker { - font-weight: 700; -} iframe { position: relative; @@ -3014,7 +3025,6 @@ function hovercraft_generate_css(){ .widget-wrapper ul li ul li { margin-left: 0 !important; list-style-type: circle; - line-height: 2; } .widget-wrapper iframe {