style updated: introduced themes, accessibility controlling, other

This commit is contained in:
tmshv committed 2017-02-20 02:30:25 +03:00
1 parent f27cc4003f
commit ee9919b39d
55 files changed
+188 -1784

No files matched your search

-18
View File
@@ -9,24 +9,6 @@
.body-wrapper__content {
margin: 0 auto 0;
a {
color: $dark-color;
text-decoration: none;
border-bottom: 1px solid lighten($dark-color, 10%);
&:hover {
border-bottom: 1px solid lighten($dark-color, 25%);
}
&:active {
border-bottom: 1px solid $dark-color;
}
&.invisible {
border-bottom: none;
}
}
}
@media (max-width: $mobile-width) {
@@ -0,0 +1,9 @@
@import "../variables";
.accessibility-control{
//display: none;
background-color: gold;
height: 100px;
width: 100%;
}
-5
View File
@@ -15,11 +15,6 @@
text-align: center;
color: #aaa;
}
a {
color: $dark-color;
border-bottom: none;
}
}
&__body{
-6
View File
@@ -3,16 +3,10 @@
.footer-links {
&__header {
margin-bottom: $single-margin;
font-size: $bigger-font-size;
color: $light-color;
}
&__link {
margin-bottom: $half-margin;
a {
border-bottom: 1px solid darken($link-color, 40%);
}
}
ul {
+5 -3
View File
@@ -19,10 +19,12 @@
}
a {
text-decoration: none;
color: $dark-color;
border-bottom: 1px solid lighten($dark-color, 60%);
border-color: lighten($dark-color, 60%);
&:hover {
border-color: lighten($dark-color, 30%);
}
}
.selected {
+5 -3
View File
@@ -12,9 +12,11 @@
background-color: rgba(255, 255, 255, 0.95);
display: flex;
justify-content: space-between;
align-items: center;
&__body {
display: flex;
justify-content: space-between;
align-items: center;
}
}
.navigation__right {
-20
View File
@@ -1,28 +1,8 @@
@import "variables";
$uri: '/graphics/rawline.png';
footer {
//width: 100%;
color: $light-color;
padding: 0 $half-margin $half-margin;
position: relative;
background-color: $darker-color;
font-size: $smaller-font-size;
&:before {
$s: 3px;
content: '';
position: absolute;
top: -$s;
left: 0;
width: 100%;
height: $s;
z-index: 100;
background-image: url($uri);
}
.footer-info {
display: flex;
+13 -31
View File
@@ -27,35 +27,17 @@ h1, h2{
h3{
margin-bottom: $single-margin / 2;
a {
color: $dark-color;
text-decoration: none;
border-bottom: 1px solid lighten($dark-color, 10%);
&:hover {
border-bottom: 1px solid lighten($dark-color, 25%);
}
&:active {
border-bottom: 1px solid $dark-color;
}
}
}
a {
color: $blue-color;
text-decoration: none;
border-bottom: 1px solid lighten($blue-color, 25%);
&:hover {
border-bottom: 1px solid lighten($blue-color, 10%);
}
&:active {
border-bottom: 1px solid $blue-color;
}
&.invisible {
border-bottom: none;
}
//a {
// color: $dark-color;
// text-decoration: none;
// border-bottom: 1px solid lighten($dark-color, 10%);
//
// &:hover {
// border-bottom: 1px solid lighten($dark-color, 25%);
// }
//
// &:active {
// border-bottom: 1px solid $dark-color;
// }
//}
}
+6
View File
@@ -16,6 +16,7 @@
@import "components/article-page-control";
@import "components/album";
@import "components/parallax";
@import "components/accessibility-control";
@import "components/page-schedule";
@import "components/page-collective";
@@ -37,3 +38,8 @@
@import "footer";
@import "kazimir/video";
// THEMES
@import "themes/theme-default";
@import "themes/theme-accessibility-bw";
@@ -0,0 +1,69 @@
@import "../variables";
.theme-accessibility-bw {
background-color: $darker-color;
color: $lighter-color;
a {
color: $lighter-color;
text-decoration: none;
border-bottom: 1px solid $lighter-color;
&:hover {
border-width: 2px;
}
}
.main-menu {
a {
color: $dark-color;
border-bottom: 1px solid $dark-color;
&:hover {
border-width: 2px;
}
}
}
.main-menu {
.selected {
border-top: $menu-colored-mark-thickness solid $dark-color;
a:link, a:visited {
color: $dark-color;
}
}
}
.content {
&.content--padding-top--menu {
padding-top: $menu-thickness + $double-margin + 5em;
padding-bottom: $single-margin;
}
}
.navigation {
background-color: $lighter-color;
}
.parallax {
&__end {
background-color: $darker-color;
}
}
.article {
&__head {
.date {
color: $lighter-color;
}
}
}
footer {
color: $lighter-color;
background-color: $darker-color;
font-size: $normal-font-size;
}
}
+38
View File
@@ -0,0 +1,38 @@
@import "../variables";
.theme-default {
a {
color: $dark-color;
text-decoration: none;
border-width: 1px;
border-bottom-style: solid;
&:hover {
border-width: 2px;
}
&:active {
border-width: 2px;
}
&.invisible {
border-bottom: none;
}
}
.accessibility-control {
display: none;
}
footer {
color: $light-color;
background-color: $darker-color;
font-size: $smaller-font-size;
a {
color: $light-color;
}
}
}