Verified Commit b1bcc828 authored by Carl Schwan's avatar Carl Schwan 🚴

Beginn moving some css to modules

parent ecf8fb25
/** Aether MediaWiki
* Copyright (C) 2017 Ken Vermette
* Copyright (C) 2019 Carl Schwan <carl at carlschwan dot eu>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@import 'includes/base';
@import 'includes/breeze';
@import 'includes/navbar';
@import 'includes/font';
@import 'includes/footer';
@import 'includes/patrons';
@import 'includes/carousel';
a.btn:visited {
color: white !important;
}
#KGlobalHeader {
position: relative;
width: 100%;
height: auto;
z-index: 999;
background-color: white;
}
#KGlobalHeader:after {
content: "";
display: block !important;
background-size: 100% 5px;
position: absolute;
height: 5px;
width: 100% !important;
left: 0px;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAFCAYAAACzSkmrAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACkSURBVDiN7dExDsIwDEbh9we1soXE6eCEbJyInQNwgKgxQ9WWFrIShr7ZkewvYm/V5fbwLj8NoKTec0lGzp66ZAzJS8jQ4EKG5KLY+FIeYBAOMoRHyFC4YJwpcqVixGYWnHHG1ebs700YHxBAHWM6DqoYHxBvswvGEegbnL1q/pAqxgQB1DE2EEAdY4aABeMEHH57+n+m8/UerZfYW0qtF9hb9wI2bU03vw4M8QAAAABJRU5ErkJggg==");
}
#KGlobalHeader a {
outline: none;
}
/* Specific Styles for Neon Header */
.KNeonHeader {
margin-top: -50px;
margin-bottom: -70px;
background-color: transparent !important;
}
.KNeonHeader:after {
bottom: 70px;
}
/* End ~ Specific Styles for Neon Header */
#kHeaderNav {
padding: 0;
min-height: 50px;
font-size: 14px;
}
#kHeaderNav a.active {
background-color: #54a3d8;
color: #FFF;
/*text-shadow: 0px 0px 1px #375a7d;*/
}
#kHeaderNav a.active:before {
color: #FFF;
}
#kHeaderNav a.active:hover {
color: #FFF;
}
#kHeaderNav button {
outline: 0;
}
#KGlobalLogo {
height: 50px;
margin: 0px;
padding: 0px !important;
padding-left: 50px !important;
padding-right: 10px !important;
background-color: #54a3d8;
line-height: 50px;
}
#KGlobalLogo:before {
position: absolute;
top: 0;
left: 25px;
width: 42px;
margin-left: -21px;
content: "K";
color: white;
font-family: "glyph";
font-weight: normal;
font-size: 32px;
text-indent: 0px;
text-align: center;
display: inline-block;
text-decoration: none !important;
}
#KGlobalLogo:hover:before {
color: white;
}
.navbar-toggler {
padding: 0;
font-size: 0;
}
.navbar-toggler:before {
position: absolute;
top: 0;
right: 0;
width: 42px;
content: "=";
color: #4d4d4d;
font-family: "glyph";
font-size: 22px;
font-weight: normal;
text-indent: 0px;
text-align: center;
line-height: 50px;
display: inline-block;
text-decoration: none !important;
}
#kHeaderNav .navbar-collapse a {
height: 50px;
line-height: 50px;
padding: 0px 20px;
color: #334545;
display: inline-block;
}
#kHeaderNav .navbar-collapse a.active {
background-color: #54a3d8;
color: #FFF;
/*text-shadow: 0px 0px 1px #375a7d;*/
}
#kHeaderNav .navbar-collapse a.active:before {
color: #FFF;
}
#kHeaderNav .navbar-collapse a.active:hover {
color: #FFF;
}
#kHeaderNav .navbar-collapse a:hover {
color: #3daefd;
}
#kHeaderNav .navbar-collapse .navbar-nav {
list-style: none;
}
#kHeaderNav .navbar-collapse .navbar-nav .nav-item {
display: inline-block;
}
#kHeaderNav .navbar-collapse .navbar-nav .nav-item a {
text-decoration: none;
}
#kHeaderNav .show {
background-color: white;
width: 100%;
height: auto;
}
.KLayout {
background-color: #fcfcfc;
padding: 1px 0px;
font-family: 'Noto Sans', sans-serif;
font-size: 14px;
}
.KLayout a {
text-decoration: none;
color: #2980b9;
outline: none;
}
.KLayout section {
/*
background-color: #eff0f1;
border-top: solid 1px #fcfcfc;
border-bottom: solid 1px #fcfcfc;
*/
background-color: #fcfcfc;
padding: 0px;
margin: 20px 0px;
}
.KLayout section > img {
display: block;
max-width: 100%;
margin: 10px auto;
}
.KLayout section img.splashImage {
display: block;
max-width: 100%;
margin: 10px auto;
padding: 0px 20px;
box-sizing: border-box;
}
.KLayout section article {
width: 100%;
display: block;
max-width: 1000px;
margin: 0px auto;
background-color: #fcfcfc;
border-left: solid 3px rgba(0,0,0,.05);
border-right: solid 3px rgba(0,0,0,.05);
box-sizing: border-box;
padding: 20px;
}
.KLayout section article h1 {
font-size: 40px;
font-weight: normal;
line-height: 120%;
text-align: center;
margin: 20px auto;
color: #4d4d4d;
}
.KLayout section article h2 {
font-size: 16px;
font-weight: bold;
line-height: 120%;
text-align: center;
margin: 20px auto;
color: #4d4d4d;
}
.KLayout section article h3 {
font-size: 24px;
font-weight: normal;
line-height: 120%;
text-align: center;
margin: 20px auto;
color: #4d4d4d;
}
.KLayout section article * + h1,
.KLayout section article *:not(h1) + h2,
.KLayout section article *:not(h1):not(h2) + h3,
.KLayout section article *:not(h1):not(h2):not(h3) + h4,
.KLayout section article *:not(h1):not(h2):not(h3):not(h4) + h5 {
margin-top: 40px;
}
.KLayout sup.tag {
background-color: #eff0f1;
color: #4d4d4d;
padding: 0px 4px;
border-radius: 3px;
border: solid 1px rgba(0,0,0,.1);
line-height: 100%;
font-size: 10px;
font-weight: normal;
vertical-align: top;
position: relative;
top: -.2em;
margin-left: 2px;
}
.KLayout section article > * {
display: block;
box-sizing: border-box;
margin: 10px auto;
max-width: 600px;
text-align: left;
line-height: 160%;
}
.KLayout section article > small {
background-color: #eff0f1;
color: #95a5a6;
font-size: 10px;
padding: 5px 10px;
border-radius: 3px;
border: solid 1px rgba(0,0,0,.1);
line-height: 150%;
}
.KLayout section article > aside {
background-color: #3daefd;
color: #fafafa;
padding: 5px 10px;
border-radius: 3px;
border: solid 1px rgba(0,0,0,.1);
line-height: 150%;
}
.KLayout section article {
line-height: 180%;
}
.KLayout section article nav a {
display: inline;
line-height: 120%;
}
.KLayout section article nav a:hover {
text-decoration: underline;
}
.KLayout section article nav a:after {
position: relative;
content: ">";
font-family: "glyph";
vertical-align: baseline;
top: .1em;
padding-left: 10px;
display: inline-block;
text-decoration: none !important;
}
.KLayout section article nav a + a {
margin-top: .6em;
}
.KLayout section article nav a + a:before {
content: "\a";
white-space: pre-wrap;
}
.KLayout section + section {
margin-top: 20px;
}
.KLayout section.heroDisplay {
text-shadow: 0px 0px 10px rgba(0,0,0,.6);
}
.KLayout section.heroDisplay p {
font-size: 150%;
line-height: 150%;
text-align: center;
}
.KLayout section.heroDisplay article {
border-left: none;
border-right: none;
background-color: transparent;
max-width: 800px;
padding: 100px 40px;
margin: 0px auto;
color: #FFF;
}
.KLayout section.heroDisplay h1 {
font-size: 50px;
font-weight: normal;
line-height: 100%;
margin: 20px auto;
padding: 0px;
text-align: center;
color: #FFF;
}
.KLayout .multicolumn-2 {
padding: 0px;
}
.KLayout .multicolumn-2 > * {
width: 50%;
float: left;
padding: 20px;
box-sizing: border-box;
margin: 0px;
}
.KLayout .multicolumn-2:after {
display: block;
position: static;
content: "";
clear: both;
width: 100%;
height: 1px;
}
.KLayout .multicolumn-2 > :nth-child(2) {
border-left: solid 3px rgba(0,0,0,.05);
}
.KLayout figure.code {
position: relative;
margin: 0px;
background-color: #4d4d4d;
padding: 10px 10px 10px 60px;
border-radius: 3px;
border: solid 1px rgba(0,0,0,.2);
color: #fcfcfc;
white-space: nowrap;
overflow-x: auto;
width: 100%;
box-sizing: border-box;
}
.KLayout figure.code:before {
content: "#";
font-family: "glyph";
font-size: 30px;
position: absolute;
top: 10px;
left: 10px;
}@font-face {
font-family: 'Noto Sans';
font-weight: 400;
font-style: normal;
src: url('/css/Noto-Sans-regular/Noto-Sans-regular.eot');
src: url('/css/Noto-Sans-regular/Noto-Sans-regular.eot?#iefix') format('embedded-opentype'),
local('Noto Sans'),
local('Noto-Sans-regular'),
url('/css/Noto-Sans-regular/Noto-Sans-regular.woff2') format('woff2'),
url('/css/Noto-Sans-regular/Noto-Sans-regular.woff') format('woff'),
url('/css/Noto-Sans-regular/Noto-Sans-regular.ttf') format('truetype'),
url('/css/Noto-Sans-regular/Noto-Sans-regular.svg#NotoSans') format('svg');
}
@font-face {
font-family: 'Noto Sans';
font-weight: 700;
font-style: normal;
src: url('/css/Noto-Sans-700/Noto-Sans-700.eot');
src: url('/css/Noto-Sans-700/Noto-Sans-700.eot?#iefix') format('embedded-opentype'),
local('Noto Sans Bold'),
local('Noto-Sans-700'),
url('/css/Noto-Sans-700/Noto-Sans-700.woff2') format('woff2'),
url('/css/Noto-Sans-700/Noto-Sans-700.woff') format('woff'),
url('/css/Noto-Sans-700/Noto-Sans-700.ttf') format('truetype'),
url('/css/Noto-Sans-700/Noto-Sans-700.svg#NotoSans') format('svg');
}
body {
padding: 0px;
font-family: 'Noto Sans', sans-serif;
font-size: 14px;
color: #31363b;
}
header {
position: relative;
......@@ -447,332 +38,6 @@ header > * {
margin: 0px auto !important;
}
p {
margin: 0px;
margin-bottom: 1em;
max-width: 900px;
}
p + p {
margin-top: 5px;
}
a {
text-decoration: none !important;
color: #3b85b5;
}
a:hover {
color: #3daefd;
}
main h1 {
display: block;
font-size: 24px;
font-weight: normal;
margin-top: 20px;
margin-bottom: 10px;
}
main h2 {
font-size: 22px;
font-weight: normal;
margin-top: 20px;
margin-bottom: 10px;
}
main h3 {
font-size: 20px;
font-weight: normal;
margin-top: 20px;
margin-bottom: 10px;
}
main h4 {
font-size: 18px;
font-weight: normal;
color: #536161;
margin: 0px;
margin-top: 20px;
}
main h5 {
font-size: 16px;
font-weight: normal;
color: #536161;
margin: 0px;
margin-top: 15px;
}
main h6 {
font-size: 15px;
font-weight: normal;
color: #536161;
margin: 0px;
margin-top: 10px;
}
.learn-more:after {
content: ">";
font-family: "glyph";
font-size: 80%;
font-weight: bold !important;
vertical-align: middle;
padding-left: 1em;
}
.learn-more {
display: inline-block;
}
a.button {
position: relative;
display: inline-block;
background-color: #54a3d8;
color: #fcfcfc;
padding: 5px 10px;
border-radius: 2px;
border: solid 1px rgba(0,0,0,.1);
transition: background-color .2s;
}
a.button:hover {
background-color: #7cbcec;
}
a.button.expand {
display: block;
padding-right: 20px;
}
a.button:after {
color: #fcfcfc
}
a.button.expand:after {
position: absolute;
top: 50%;
right: 10px;
margin-top: -.8ex;
}
@media (max-width: 768px) {
a.button {
display: block;
padding-right: 20px;
}
a.button:after {
position: absolute;
top: 50%;
right: 10px;
margin-top: -.8ex;
}
}
main section {
margin-top: 40px;
}
#kFooter section {
padding-top: 10px;
padding-bottom: 10px;
}
#kSocial {
border-top: solid 1px #cfd5d5;
}
#kPatrons h3, #kLinks h3 {
font-size: 12px;
font-weight: bold;
margin: 10px 0px 10px 0px;
}
#kPatrons a, #kPatrons span {
text-align: center;
padding: 0px 20px;
display: block;
min-width: 200px;
}