|
@@ -11,9 +11,9 @@ $mdi-font-path: './mdi/fonts/';
|
|
|
@import './base/fonts';
|
|
|
|
|
|
|
|
|
-html{
|
|
|
-
|
|
|
-}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
@mixin iconMDI($name) {
|
|
|
&::before {
|
|
@@ -54,6 +54,10 @@ header[role="banner"]{
|
|
|
font-weight: 400;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
#block-sitebranding{
|
|
|
h1{
|
|
|
margin:0;
|
|
@@ -77,9 +81,11 @@ header[role="banner"]{
|
|
|
@include col-mediaquery-max(3){
|
|
|
.header-block.header-right{
|
|
|
.header-block-wrapper{
|
|
|
- padding:1em 1em;
|
|
|
- box-shadow: -2px 2px 4px #ccc;
|
|
|
- background-color: #fff;
|
|
|
+ &, #user-flags ul{
|
|
|
+
|
|
|
+
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -496,13 +502,15 @@ header[role="banner"]{
|
|
|
align-self: flex-end;
|
|
|
}
|
|
|
@include col-mediaquery-max(3){
|
|
|
- flex-direction: column-reverse;
|
|
|
+ flex-direction: column;
|
|
|
justify-content:center;
|
|
|
#block-pagetitle{
|
|
|
- width: max-content;
|
|
|
+
|
|
|
+ width:100%;
|
|
|
}
|
|
|
#block-materiosapisearchblock{
|
|
|
-
|
|
|
+ box-sizing: border-box;
|
|
|
+ width:100%;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -513,8 +521,9 @@ header[role="banner"]{
|
|
|
|
|
|
@include col-mediaquery-max(3){
|
|
|
body.path-frontpage &, body.path-home & {
|
|
|
- display: none;
|
|
|
+ display: none;
|
|
|
}
|
|
|
+ padding: 1em 0 0;
|
|
|
}
|
|
|
h2{
|
|
|
margin:0;
|
|
@@ -574,13 +583,21 @@ header[role="banner"]{
|
|
|
width:20px; height:20px;
|
|
|
margin:0;
|
|
|
|
|
|
- background-image: url('../img/search.png');
|
|
|
+ background-image: url('../img/search.svg');
|
|
|
background-position: center;
|
|
|
background-repeat: no-repeat;
|
|
|
background-size: contain;
|
|
|
+ background-color: transparent
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+ @include col-mediaquery-max(3){
|
|
|
+ body:not(.path-base) &{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ padding: 0 1em;
|
|
|
+ background-color: $color-base;
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|
|
@@ -1202,6 +1219,38 @@ article.node--type-frontpage{
|
|
|
vertical-align: top;
|
|
|
}
|
|
|
}
|
|
|
+ @include col-mediaquery-max(3){
|
|
|
+ &>ul{
|
|
|
+ display: flex;
|
|
|
+ flex-flow: row wrap;
|
|
|
+ justify-content: space-around;
|
|
|
+ width:100%;
|
|
|
+ >li{
|
|
|
+ flex: 0 1 48%;
|
|
|
+ margin:0 0 0.5em 0;
|
|
|
+ >article{
|
|
|
+ width:100%;
|
|
|
+ height:auto;
|
|
|
+ >section.images{
|
|
|
+ height: auto;
|
|
|
+ >figure{
|
|
|
+ position: relative;
|
|
|
+ &:not(:first-child){
|
|
|
+ display:none;
|
|
|
+ }
|
|
|
+ img:not(.blank){
|
|
|
+ width:100%;
|
|
|
+ height:auto;
|
|
|
+ }
|
|
|
+ img.blank{
|
|
|
+ top:0; bottom:0; left:0; right:0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
article.card{
|