80 lines
1.8 KiB
SCSS
80 lines
1.8 KiB
SCSS
// Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
.fl { float: left; }
|
|
.fr { float: right; }
|
|
.mb4 { margin-bottom: 4rem }
|
|
.mb6 { margin-bottom: 6rem }
|
|
.mt0 { margin-top: 0 }
|
|
.mt1 { margin-top: 1rem }
|
|
.mt2 { margin-top: 2rem }
|
|
.mt3 { margin-top: 3rem }
|
|
.mt4 { margin-top: 4rem }
|
|
.pb0 { padding-bottom: 0 }
|
|
.ml1 { margin-left: 1rem }
|
|
.mr1 { margin-right: 1rem }
|
|
|
|
.sixteen-nine { @include aspect-ratio(16, 9); }
|
|
.sixteen-ten { @include aspect-ratio(16, 10); }
|
|
.four-three { @include aspect-ratio(4, 3); }
|
|
.one-one { @include aspect-ratio(1, 1); }
|
|
|
|
.sr-only {
|
|
display: none; // inline
|
|
// <<< link
|
|
display: unset;
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0,0,0,0);
|
|
border: 0;
|
|
// >>>
|
|
}
|
|
|
|
.larger { font-size: larger; }
|
|
.smaller { font-size: smaller; }
|
|
|
|
.clearfix {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
.ellipsis {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.border {
|
|
border: 1px solid var(--border-color); // inline
|
|
transition: border-color 1s ease; // link
|
|
}
|
|
|
|
.border-radius {
|
|
@include border-radius();
|
|
}
|
|
|
|
.fallback-img {
|
|
@include fallback-image();
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|