Browse Source

lp and icons

master
rdrew 3 weeks ago
parent
commit
ac311fdb1f
  1. 2
      css/base.css
  2. 22
      css/footer.css
  3. 18
      css/header.css
  4. 49
      css/homepage.css
  5. 13
      css/search.css
  6. 10
      css/site-variables.css

2
css/base.css

@ -101,7 +101,7 @@ h5,
h6 {
font-family: var(--heading-font);
color: var(--color-heading);
font-weight: 700;
font-weight: 400;
font-style: normal;
line-height: 1.6;
}

22
css/footer.css

@ -89,3 +89,25 @@
display: inline-block;
padding-left: 1rem;
}
.upei-footer {
h2 {
color: #fff;
font-size: 20px;
}
a {
font-size: 13px;
}
li {
line-height: 48%;
}
#links-section {
display: flex;
border-bottom: 4px solid var(--upei-red);
margin-bottom:1rem;
}
.bottom-links {
margin: 0;
padding: 0;
margin-bottom:1rem;
}
}

18
css/header.css

@ -2,6 +2,13 @@
* Header main
*/
/* Header -> Header top */
/*hide main menu in header*/
/*.region-primary-menu */
@media only screen and (min-width:991px) {
nav#block-vre2024-main-menu {
display: none;
}
}
.header-top,
.header {
position: relative;
@ -9,7 +16,7 @@
margin: 0;
}
.header-top {
padding: 0.5rem 0;
/*padding: 0.5rem 0;*/
}
.header {
padding: var(--header-padding) 0;
@ -22,6 +29,13 @@
background: var(--header-top-bg-color);
color: var(--header-top-text-color);
font-size: 0.8rem;
font-family: var(--font-family-condensed);
/*border-left: 1px solid #fff;*/
padding: 5px;
}
.header-top li {
border-left: 1px solid black;
}
.header {
background: var(--header-bg-color);
@ -131,7 +145,7 @@
a {
font-family: var(--heading-font);
font-size: var(--site-name-font-size);
color: var(--site-name-font-color);
color: var(--upei-red);
}
}

49
css/homepage.css

@ -1,11 +1,58 @@
.region-content-home-top,
.region-content-home-bottom {
display: flex;
flex-direction: column;
flex-direction: row;
width: 100%;
margin: 0;
padding: 0;
justify-content: space-between;
}
.region-content-home-top {
margin-bottom: 2rem;
}
/*block menu*/
nav#block-vre2024-mainnavigation-2 {
display: block;
/*width:25%;*/
width: 250px;
}
/*slideshow*/
div#block-vre2024-views-block-frontpage-slideshow-block-1 {
/*width: 50%;*/
width: 550px;
}
/*info block*/
div#block-vre2024-landingpageinfoblock {
/*width:25owi%;*/
width: 500px;
}
nav#block-vre2024-mainnavigation-2 {
.menu {
margin-bottom: 1.5em;
border: 5px solid #fff;
outline: 1px solid #ccc;
border-radius: 2px;
margin: 0;
padding: 0;
li {
padding: 0;
list-style-image: none;
list-style-type: none;
}
a {
background: #e7ede0;
color: #333;
display: block;
padding: 0.34em 0.75em;
border-bottom: 1px solid #ccc;
font-family: "Roboto Condensed", sans-serif;
font-size: 1.2em;
svg.svg-inline--fa {
width: 28px;
margin-right: 5px;
}
}
}
}

13
css/search.css

@ -28,7 +28,6 @@ ol.search-results li {
}
.region-search-box form#search-form {
display: flex;
justify-content: center;
margin-top: 60px;
@ -39,5 +38,15 @@ ol.search-results li {
margin: 0 auto;
padding: 0.5rem 1.5rem;
border-radius: 0 5px 5px 0;
}
#block-vre2024-search form#search-form {
margin:0;
display: flex;
input[type="text"] {
padding: 6px;
width:16rem;
}
.button {
/*padding: 10px 10px;*/
}
}

10
css/site-variables.css

@ -30,7 +30,7 @@
/*
*body
*/
--body-bg-color: #fff;
--body-bg-color: #fbfbfb;
--page-container-width: 1440px;
--body-font: var(--font-family-sans-serif);
--heading-font: "Georgia", "Cambria", "Times New Roman", "Times", serif;
@ -40,7 +40,7 @@
/*--header-bg-color: #333;*/
--header-top-bg-color: var(--dark);
--header-top-text-color: #fff;
--header-bg-color: none;
--header-bg-color: #fff;
--header-text-color: var(--color-text);
--header-padding: 1rem;
--header-bottom-border: 1px solid #ddd;
@ -98,7 +98,7 @@
/*
*footer
*/
--footer-bg-color: #ccc;
--footer-text-color: initial;
--footer-link-color: var(--upei-red);
--footer-bg-color: #333;
--footer-text-color: #fff;
--footer-link-color: #ccc;
}

Loading…
Cancel
Save