Browse Source

lp media queries

master
rdrew 3 weeks ago
parent
commit
7e54d7662e
  1. 37
      css/homepage.css

37
css/homepage.css

@ -3,12 +3,23 @@
} }
.region-content-home-top, .region-content-home-top,
.region-content-home-bottom { .region-content-home-bottom {
display: flex; /*display: flex;*/
flex-direction: row; /*flex-direction: column;*/
width: 100%; width: 100%;
margin: 0; margin: 0;
padding: 0; padding: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
@media only screen and (min-width: 70em) {
.region-content-home-top,
.region-content-home-bottom {
flex-direction: row;
justify-content: space-between; justify-content: space-between;
}
} }
.region-content-home-top { .region-content-home-top {
margin-bottom: 2rem; margin-bottom: 2rem;
@ -16,9 +27,15 @@
/*block menu*/ /*block menu*/
nav#block-vre2024-mainnavigation-2 { nav#block-vre2024-mainnavigation-2 {
display: none;
}
@media only screen and (min-width: 70em) {
nav#block-vre2024-mainnavigation-2 {
display: block; display: block;
/*width:25%;*/ /*width:25%;*/
width: 250px; width: 250px;
}
} }
/*slideshow*/ /*slideshow*/
div#block-vre2024-views-block-frontpage-slideshow-block-1 { div#block-vre2024-views-block-frontpage-slideshow-block-1 {
@ -88,7 +105,7 @@ nav#block-vre2024-mainnavigation-2 {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
font-family: "Roboto Condensed", sans-serif; font-family: "Roboto Condensed", sans-serif;
font-size: 1.2em; font-size: 1.2em;
line-height:1.3; line-height: 1.3;
i { i {
margin-right: 10px; margin-right: 10px;
width: 20px; width: 20px;
@ -100,3 +117,17 @@ nav#block-vre2024-mainnavigation-2 {
} }
} }
} }
/*recent works blocks*/
#block-vre2024-views-block-recent-publications-block-1,
#block-vre2024-views-block-recent-publications-block-2 {
width: 660px;
border-left: 1px solid #ccc;
padding: 0 1rem;
.views-row {
margin-bottom: 1rem;
line-height: 1.4;
}
.views-field-edtf-year .field-content::before {
content: ">";
}
}

Loading…
Cancel
Save