Refactoring of style files
Change-Id: I56d3641741f2289bb0f9dbaf641b85a401cf1042
diff --git a/dev/scss/main/logos.scss b/dev/scss/main/logos.scss
index 705ea43..3b87e96 100644
--- a/dev/scss/main/logos.scss
+++ b/dev/scss/main/logos.scss
@@ -1,59 +1,66 @@
@charset "utf-8";
@import "../util";
+/**
+ * Rules for logos.
+ */
.logo {
&::after {
content: "" !important;
}
+
> * {
background: {
- repeat: no-repeat;
- size: 90%;
+ repeat: no-repeat;
+ size: 90%;
position: 50% 50%;
}
+
> span {
- margin-left: -30000px;
+ @include blind;
}
}
}
+
/**
* Background image for the front page
*/
#kalamar-bg {
position: fixed;
- height: 110%;
- width: 175%;
- top: 0;
- z-index: -5000;
- opacity: .1;
+ height: 110%;
+ width: 175%;
+ top: 0;
+ z-index: -5000;
+ opacity: .1;
background: {
- image:url('#{$img-path}/korap-bg-kalamar.svg');
- size: 50%;
- repeat: no-repeat;
+ image: url('#{$img-path}/korap-bg-kalamar.svg');
+ size: 50%;
+ repeat: no-repeat;
position: 50% 50%;
}
}
+
/**
* Logo table of the front page
*/
#logos {
- position: relative;
- text-align: right;
- font-size: 85%;
- right: 0;
- width: 100%;
+ position: relative;
+ text-align: right;
+ font-size: 85%;
+ right: 0;
+ width: 100%;
margin-left: ($standard-margin / 2);
-
padding-left: 60%;
+
> div {
- border-top: 26px solid $dark-orange;
+ border-top: 26px solid $dark-orange;
padding-right: 2em;
}
p {
text-align: left;
- display: inline-block;
+ display: inline-block;
}
}
@@ -62,12 +69,10 @@
* Logo: Institute for German Language
*/
#ids-logo {
- display: block;
- width: (631 / 30) + em;
- height: (200 / 30) + em;
- background: {
- image:url('#{$img-path}/ids-leibniz-institute-for-the-german-language.svg');
- }
+ display: block;
+ width: (631 / 30) + em;
+ height: (200 / 30) + em;
+ background-image: url('#{$img-path}/ids-leibniz-institute-for-the-german-language.svg');
}
@@ -75,21 +80,21 @@
* Logo: KorAP
*/
h1 {
- position: absolute;
- margin: 0;
- margin-left:15px;
- left: 0;
- top: 0;
- width: 7.8em;
- height: 2.4em;
- z-index: 105;
+ position: absolute;
+ margin: 0;
+ margin-left: 15px;
+ left: 0;
+ top: 0;
+ width: 7.8em;
+ height: 2.4em;
+ z-index: 105;
background: {
- size: 72%;
+ size: 72%;
image: url('#{$img-path}/korap-logo-kalamar.svg');
}
}
#overview {
text-align: center;
- width: 100%;
+ width: 100%;
}