Removed unused CSS

This commit is contained in:
squidfunk 2020-04-25 19:12:17 +02:00
parent 1fc6af1f15
commit 198120f9cf
8 changed files with 7 additions and 78 deletions

View File

@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.d7126665.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.58d22e8e.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.58d22e8e.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.4ccb1e2d.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.4ccb1e2d.min.css.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.1b30c3e9.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.1b30c3e9.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.7dafc863.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.7dafc863.min.css.map"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,7 +41,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.4ccb1e2d.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1b30c3e9.min.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.7dafc863.min.css' | url }}">
{% endif %}

View File

@ -1,70 +0,0 @@
////
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),
/// to deal in the Software without restriction, including without limitation
/// the rights to use, copy, modify, merge, publish, distribute, sublicense,
/// and/or sell copies of the Software, and to permit persons to whom the
/// Software is furnished to do so, subject to the following conditions:
///
/// The above copyright notice and this permission notice shall be included in
/// all copies or substantial portions of the Software.
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
/// DEALINGS
////
// ----------------------------------------------------------------------------
// Variables
// ----------------------------------------------------------------------------
// Active (toggled) search
$md-toggle__search--checked:
"[data-md-toggle=\"search\"]:checked ~ .md-header";
// Active (toggled) options dialog
$md-toggle__more--checked:
"[data-md-toggle=\"more\"]:checked";
// ----------------------------------------------------------------------------
// Rules
// ----------------------------------------------------------------------------
// Options dialog
.md-more {
position: relative;
&__list {
position: absolute;
display: none;
margin: 0;
background: red;
}
#{$md-toggle__more--checked} + &__list {
display: block;
background: blue;
}
}
[for="__more"] {
padding: px2rem(8px) px2rem(4px); // reduce padding
transition:
visibility 0ms 250ms,
opacity 125ms 250ms;
}
// hide, if search is active... do not display none though...
#{$md-toggle__search--checked} [for="__more"] {
width: 0;
visibility: hidden;
opacity: 0;
transition: visibility 0ms;
}

View File

@ -52,7 +52,6 @@
@import "layout/hero";
@import "layout/footer";
@import "layout/nav";
@import "layout/options";
@import "layout/search";
@import "layout/sidebar";
@import "layout/source";