Browse Source

lp media queries

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

35
css/homepage.css

@ -3,23 +3,40 @@
} }
.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;
} }
/*block menu*/ /*block menu*/
nav#block-vre2024-mainnavigation-2 {
display: none;
}
@media only screen and (min-width: 70em) {
nav#block-vre2024-mainnavigation-2 { 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 {
/*width: 50%;*/ /*width: 50%;*/
@ -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