diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-10 20:17:43 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-10 20:17:43 +0200 |
| commit | 9b426b5ee228fc7a5c7652a3659fd363dd926ac4 (patch) | |
| tree | 05991ecbabe9f37214c027b8af895fa335540979 /resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content | |
| parent | ce55d8624b5112e32afcd2a0c9b4c2df799fb722 (diff) | |
| download | gohugo-theme-ed-9b426b5ee228fc7a5c7652a3659fd363dd926ac4.tar.gz | |
Remove no longer needed reset.scss
Diffstat (limited to 'resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content')
| -rw-r--r-- | resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content | 204 |
1 files changed, 50 insertions, 154 deletions
diff --git a/resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content b/resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content index 4f19e66..cfa32b4 100644 --- a/resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content +++ b/resources/_gen/assets/scss/sass/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content @@ -10,110 +10,6 @@ Make sure to leave color_scheme in `config.toml` file empty for granular control */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, a, -abbr, address, cite, code, del, dfn, em, img, -ins, kbd, q, s, samp, small, strong, sub, sup, tt, -var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, -label, legend, table, caption, tbody, tfoot, -thead, tr, th, td, article, aside, canvas, details, -figcaption, figure, footer, header, hgroup, menu, -nav, section, summary, time, mark, audio, video { - margin: 0; - padding: 0; } - -article, aside, details, figcaption, figure, footer, -header, hgroup, menu, nav, section { - display: block; } - -h1, h2, h3, h4, h5, h6 { - font-size: 100%; } - -table { - border-collapse: collapse; - border-spacing: 0; } - -strong, b, mark { - font-weight: 700; - font-style: inherit; } - -em, i, cite, q, address, dfn, var { - font-style: italic; - font-weight: inherit; } - -abbr[title], dfn[title] { - cursor: help; - border-bottom: 1px dotted; } - -ins { - border-bottom: 1px solid; } - -a, u, ins { - text-decoration: none; } - -del, s { - text-decoration: line-through; } - -pre, code, samp, kbd { - font-family: monospace; } - -small { - font-size: .75em; } - -img { - border: 0; - font-style: italic; } - -input, select, option, optgroup, textarea { - font: inherit; } - -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 0; - padding: 0; } - -article, aside, details, figcaption, figure, footer, -header, hgroup, nav, section { - display: block; } - -audio[controls], canvas, video { - display: inline-block; - *display: inline; - *zoom: 1; } - -html { - font-size: 100%; - -webkit-overflow-scrolling: touch; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; } - -body { - margin: 0; - text-rendering: optimizeLegibility; } - -img { - border: 0; - -ms-interpolation-mode: bicubic; - display: block; } - -img, object, embed { - max-width: 100%; - height: auto; } - -input { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; } - -header, footer, section { - position: relative; - float: left; - clear: both; - width: 100%; } - /* Ed: the minimal edition theme. * ___________________ * \_ _____/\______ \ @@ -166,20 +62,20 @@ body { margin-bottom: 4rem; } /* - Wrapper + Wrapper - The wrapper is used to position site content when the sidebar is toggled. We use an outter wrap to - position the sidebar without interferring with the regular page content. - */ + The wrapper is used to position site content when the sidebar is toggled. We use an outter wrap to + position the sidebar without interferring with the regular page content. +*/ .wrap { position: relative; width: 100%; } /* - Container + Container - Center the page content. - */ + Center the page content. +*/ .container { max-width: 32rem; padding-left: 1rem; @@ -292,10 +188,10 @@ tbody tr:nth-child(odd) th { background-color: #f9f9f9; } /* - Masthead + Masthead - Super small header above the content for site name and short description. - */ + Super small header above the content for site name and short description. +*/ .masthead { border-bottom: 1px solid #eee; margin-bottom: 3rem; @@ -334,18 +230,18 @@ tbody tr:nth-child(odd) th { display: inline; } } /* - Sidebar + Sidebar - The sidebar is the drawer, the item we are toggling with our handy hamburger button in the corner - of the page. + The sidebar is the drawer, the item we are toggling with our handy hamburger button in the corner + of the page. - This particular sidebar implementation was inspired by Chris Coyier's "Offcanvas Menu with CSS - Target" article, and the checkbox variation from the comments by a reader. It modifies both - implementations to continue using the checkbox (no change in URL means no polluted browser - history), but this uses `position` for the menu to avoid some potential content reflow issues. + This particular sidebar implementation was inspired by Chris Coyier's "Offcanvas Menu with CSS + Target" article, and the checkbox variation from the comments by a reader. It modifies both + implementations to continue using the checkbox (no change in URL means no polluted browser + history), but this uses `position` for the menu to avoid some potential content reflow issues. - Source: http://css-tricks.com/off-canvas-menu-with-css-target/#comment-207504 - */ + Source: http://css-tricks.com/off-canvas-menu-with-css-target/#comment-207504 +*/ /* Style and "hide" the sidebar */ .sidebar { position: fixed; @@ -457,17 +353,17 @@ a.sidebar-nav-item:focus { display: none; } } /* - Slide effect + Slide effect - Handle the sliding effects of the sidebar and content in one spot, separate from the default - styles. + Handle the sliding effects of the sidebar and content in one spot, separate from the default + styles. - As a heads-up, we don't use `transform: translate3d()` here because, when mixed with - `position: fixed;` for the sidebar toggle, it creates a new containing block. Put simply, the - fixed sidebar toggle behaves like `position: absolute;` when transformed. + As a heads-up, we don't use `transform: translate3d()` here because, when mixed with + `position: fixed;` for the sidebar toggle, it creates a new containing block. Put simply, the + fixed sidebar toggle behaves like `position: absolute;` when transformed. - Read more about it at http://meyerweb.com/eric/thoughts/2011/09/12/. - */ + Read more about it at http://meyerweb.com/eric/thoughts/2011/09/12/. +*/ .wrap, .sidebar, .sidebar-toggle { @@ -492,10 +388,10 @@ a.sidebar-nav-item:focus { transform: translateX(14rem); } /* - Reverse layout + Reverse layout - Flip the orientation of the page by placing the `.sidebar` and sidebar toggle on the right side. - */ + Flip the orientation of the page by placing the `.sidebar` and sidebar toggle on the right side. +*/ .layout-reverse .sidebar { left: auto; right: -14rem; } @@ -512,10 +408,10 @@ a.sidebar-nav-item:focus { transform: translateX(-14rem); } /* - Overlay sidebar + Overlay sidebar - Make the sidebar content overlay the viewport content instead of pushing it aside when toggled. - */ + Make the sidebar content overlay the viewport content instead of pushing it aside when toggled. +*/ .sidebar-overlay #sidebar-checkbox:checked ~ .wrap { -webkit-transform: translateX(0); -ms-transform: translateX(0); @@ -532,8 +428,8 @@ a.sidebar-nav-item:focus { box-shadow: -0.25rem 0 0.5rem rgba(0, 0, 0, 0.1); } /* - ED special layouts - */ + ED special layouts +*/ p.centered { text-align: center; } @@ -556,11 +452,11 @@ div.toc { margin-bottom: 4rem; } /* - Poem styles + Poem styles - If you want your lines not to wrap on small screens, add the rule "white-space: nowrap;"; If you - want you want to remove the hanging indent, reset the padding-left to 0 and erase text-indent - */ + If you want your lines not to wrap on small screens, add the rule "white-space: nowrap;"; If you + want you want to remove the hanging indent, reset the padding-left to 0 and erase text-indent +*/ .poem ul, .poetry ul, ul.poetry { @@ -576,9 +472,9 @@ ul.poetry { /* reset browsers default margin styles*/ } /* - To set line indentation for poetry wrap the line in a span with a class="indent-x" attribute. - The x is represents a rem (root em) value - */ + To set line indentation for poetry wrap the line in a span with a class="indent-x" attribute. + The x is represents a rem (root em) value +*/ .indent-1 { padding-left: 1rem; } @@ -664,11 +560,11 @@ u, text-decoration: underline; } /* - Line layouts for prose-poetry and theater + Line layouts for prose-poetry and theater - To use these layouts you need to add the classes to your markdown or HTML lines. - (ex. "- {:.centered} hello!") - */ + To use these layouts you need to add the classes to your markdown or HTML lines. + (ex. "- {:.centered} hello!") +*/ li.centered { text-align: center; } @@ -697,11 +593,11 @@ li.prose-indent { text-indent: 2rem; } /* - Themes + Themes - Applies custom color schemes by adding the appropriate class to the `body`. Based on colors from - Base16: http://chriskempson.com/projects/base16/ - */ + Applies custom color schemes by adding the appropriate class to the `body`. Based on colors from + Base16: http://chriskempson.com/projects/base16/ +*/ /* Red */ .theme-base-red .sidebar, .theme-base-red .sidebar-toggle:active, |
