theme for RDM site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1302 lines
22 KiB

2 years ago
@charset "UTF-8";
2 years ago
/* Variables
---------------------------------------- */
:root {
/* Theme Colors */
--upei-red: #7c2529;
--upei-green: #789d4a;
--upei-yellow: #f1b434;
--theme-color: green;
--theme-color-two: #383a68;
--primary: #ffcc18;
--secondary: #3e4182;
--dark: #333;
--dark-grey: #838383;
--light: #edeef5;
--border: #cccccc;
--bold-color: var(--upei-red);
--content-bg: #f2f2f2;
--text-color: #222222;
2 years ago
--body-font: "Noto Sans", sans-serif;
--heading-font: "Adelle Regular", serif;
}
2 years ago
/* HTML and Body
---------------------------------------- */
body {
font-family: var(--body-font);
background: #ffffff;
color: var(--text-color);
2 years ago
background-color: #fff !important;
}
2 years ago
/* Regions
---------------------------------------- */
summary {
2 years ago
color: var(--text-color);
}
2 years ago
/* Typography
---------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--heading-font);
2 years ago
color: var(--bold-color);
}
2 years ago
2 years ago
h1 {
font-size: 2.2rem;
font-size: 3.375em;
}
h2 {
font-size: 1.9rem;
font-size: 2.25em;
}
h3 {
font-size: 1.6rem;
font-size: 1.5em;
}
h4 {
font-size: 1.3rem;
}
h5 {
font-size: 1.1rem;
}
h6 {
font-size: 1.1rem;
}
2 years ago
strong {
2 years ago
color: var(--bold-color);
}
2 years ago
em {
2 years ago
color: var(--upei-green);
}
2 years ago
a {
-webkit-transition: color 0.4s ease;
-o-transition: color 0.4s ease;
2 years ago
transition: color 0.4s ease;
}
2 years ago
a,
a:active,
li a.active {
2 years ago
color: var(--upei-green);
}
2 years ago
a:hover {
2 years ago
color: var(--primary);
}
2 years ago
/* Typography-> code tags */
code,
kbd,
pre,
samp {
background: var(--secondary);
2 years ago
color: #ffffff;
}
2 years ago
mark {
background: var(--primary);
2 years ago
color: #ffffff;
}
2 years ago
figcaption {
background: var(--secondary);
2 years ago
color: #ffffff;
}
2 years ago
/* Form
---------------------------------------- */
/* Form -> Button */
a.button,
.button,
button,
2 years ago
[type=button],
[type=reset],
[type=submit] {
2 years ago
background-color: var(--secondary);
color: #ffffff;
border: 4px solid var(--primary);
border-radius: 8px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
2 years ago
transition: all 0.4s linear;
}
2 years ago
a.button:hover,
.button:hover,
button:hover,
2 years ago
[type=button]:hover,
[type=reset]:hover,
[type=submit]:hover {
2 years ago
background-color: var(--dark);
2 years ago
color: var(--primary);
}
2 years ago
2 years ago
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
2 years ago
textarea {
-webkit-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
2 years ago
transition: all 0.5s ease-in-out;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
2 years ago
textarea {
color: var(--text-color);
background: var(--light);
2 years ago
border: 1px solid var(--border);
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
2 years ago
textarea:focus {
border: 1px solid var(--primary);
2 years ago
background: #f0f0f0;
}
2 years ago
fieldset {
2 years ago
border: 1px solid var(--border);
}
2 years ago
/* Form -> Label */
.form-item label,
form label {
font-weight: 700;
2 years ago
color: var(--bold-color);
}
2 years ago
summary {
font-family: var(--heading-font);
2 years ago
font-weight: 700;
}
2 years ago
/* Form -> Radio buttons */
2 years ago
input[type=radio],
input[type=checkbox] {
border: 2px solid var(--secondary);
}
input[type=radio]:hover,
input[type=checkbox]:hover {
border: 2px solid var(--primary);
}
input[type=radio]:checked,
input[type=checkbox]:checked {
2 years ago
background-color: var(--primary);
2 years ago
color: #000000;
}
2 years ago
2 years ago
input[type=checkbox] {
appearance: none;
}
2 years ago
2 years ago
input[type=checkbox]::after {
content: "✔";
2 years ago
text-align: center;
2 years ago
display: none;
}
2 years ago
2 years ago
input[type=checkbox]:checked::after {
display: block;
}
2 years ago
select {
color: var(--text-color);
background: #eeeeee;
2 years ago
border: 1px solid var(--border);
}
2 years ago
::-webkit-input-placeholder {
2 years ago
color: var(--border);
}
2 years ago
::placeholder {
color: var(--border);
2 years ago
opacity: 1;
}
2 years ago
:-ms-input-placeholder {
2 years ago
color: var(--border);
}
2 years ago
::-ms-input-placeholder {
2 years ago
color: #969696;
}
2 years ago
:-moz-placeholder {
2 years ago
color: var(--border);
}
2 years ago
::-moz-placeholder {
2 years ago
color: var(--border);
}
2 years ago
/* Table
---------------------------------------- */
th {
background: var(--light);
color: #fff;
color: var(--upei-red);
2 years ago
border: 1px solid var(--dark);
}
2 years ago
td {
2 years ago
border: 1px solid var(--border);
}
2 years ago
/* Common HTML Elements
---------------------------------------- */
hr {
2 years ago
background: var(--border);
}
2 years ago
dt {
2 years ago
color: var(--bold-color);
}
2 years ago
blockquote {
background: var(--light);
box-shadow: 2px 2px 6px var(--border);
2 years ago
border-left: 8px solid var(--secondary);
}
2 years ago
/* Selection
---------------------------------------- */
::-moz-selection {
background: var(--primary);
color: #fff;
2 years ago
text-shadow: none;
}
2 years ago
::selection {
background: var(--primary);
color: #fff;
2 years ago
text-shadow: none;
}
2 years ago
@font-face {
2 years ago
font-family: "ficon";
2 years ago
src: url("../fonts/ficon.ttf?ce63e9") format("truetype"), url("../fonts/ficon.woff?ce63e9") format("woff"), url("../fonts/ficon.svg?ce63e9#ficon") format("svg");
font-weight: normal;
font-style: normal;
2 years ago
font-display: block;
}
[class^=ficon-], [class*=" ficon-"] {
2 years ago
/* use !important to prevent issues with browser extensions that change fonts */
2 years ago
font-family: "ficon" !important;
2 years ago
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
2 years ago
-moz-osx-font-smoothing: grayscale;
}
2 years ago
.ficon-mail:before {
2 years ago
content: "\f003";
}
2 years ago
.ficon-map:before {
2 years ago
content: "\f041";
}
2 years ago
.ficon-calendar:before {
2 years ago
content: "\f073";
}
2 years ago
.ficon-phone:before {
2 years ago
content: "\f095";
}
2 years ago
.ficon-twitter:before {
2 years ago
content: "\f099";
}
2 years ago
.ficon-facebook:before {
2 years ago
content: "\f09a";
}
2 years ago
.ficon-github:before {
2 years ago
content: "\f09b";
}
2 years ago
.ficon-linkedin:before {
2 years ago
content: "\f0e1";
}
2 years ago
.ficon-youtube:before {
2 years ago
content: "\f16a";
}
2 years ago
.ficon-instagram:before {
2 years ago
content: "\f16d";
}
2 years ago
.ficon-vk:before {
2 years ago
content: "\f189";
}
2 years ago
.ficon-whatsapp:before {
2 years ago
content: "\f232";
}
2 years ago
.ficon-vimeo:before {
2 years ago
content: "\f27d";
}
2 years ago
.ficon-user:before {
2 years ago
content: "\f2c0";
}
2 years ago
.ficon-telegram:before {
2 years ago
content: "\f2c6";
}
2 years ago
.ficon-comments:before {
2 years ago
content: "\e900";
}
2 years ago
.ficon-add_comment:before {
2 years ago
content: "\e901";
}
2 years ago
.ficon-tag:before {
2 years ago
content: "\e902";
}
2 years ago
.ficon-file:before {
2 years ago
content: "\e903";
}
2 years ago
.ficon-search:before {
2 years ago
content: "\e904";
}
2 years ago
.ficon-tag:before {
2 years ago
content: "\e902";
}
2 years ago
.main-wrapper {
2 years ago
padding: 0;
}
2 years ago
div#block-menudetailsforhomepage h4 a {
2 years ago
color: var(--upei-red);
}
2 years ago
div#block-menudetailsforhomepage li {
2 years ago
color: #333;
}
2 years ago
/* Header Top
------------------------------- */
.header-top {
background: var(--upei-red);
2 years ago
color: var(--light);
}
2 years ago
.header-top a {
2 years ago
color: var(--light);
}
2 years ago
.header-top a:hover,
.header-top i {
2 years ago
color: var(--primary);
}
2 years ago
.header-top-block {
2 years ago
text-align: center;
}
2 years ago
/* Header
------------------------------- */
.header {
background: #fff;
2 years ago
color: #ffffff;
}
2 years ago
.header a,
.page-header a {
color: var(--primary);
2 years ago
color: var(--dark-grey);
}
2 years ago
.header-container {
2 years ago
padding: 1rem 0;
}
2 years ago
.site-brand img {
max-height: 50px;
2 years ago
display: block;
}
2 years ago
.site-name {
font-family: var(--heading-font);
color: var(--primary);
font-weight: 700;
2 years ago
font-size: 2.25em;
2 years ago
}
2 years ago
.site-name a:hover {
2 years ago
color: var(--primary);
}
2 years ago
/* Header -> Main menu */
.mobile-menu {
border-top: 2px solid #ffffff;
2 years ago
border-bottom: 2px solid #ffffff;
}
2 years ago
.mobile-menu span {
2 years ago
background-color: #ffffff;
}
2 years ago
.menu-wrap {
font-family: var(--heading-font);
2 years ago
font-weight: 700;
}
2 years ago
.menu-wrap .menu a {
2 years ago
color: var(--dark-grey);
}
2 years ago
.menu-wrap ul.menu > li {
2 years ago
margin-left: 6px;
}
2 years ago
.menu-wrap ul.menu li > a {
2 years ago
padding: 10px;
}
2 years ago
2 years ago
.menu-wrap ul.menu {
font-size: 1em;
}
2 years ago
/* Header -> search block region */
.search-icon {
width: 36px;
2 years ago
height: 36px;
}
2 years ago
.search-icon img {
2 years ago
max-height: 30px;
}
2 years ago
.search-box {
2 years ago
background-color: var(--dark);
}
2 years ago
.search-box-content .block-title,
.search-box-content form label {
2 years ago
color: var(--light);
}
2 years ago
2 years ago
.search-box-content input[type=search] {
2 years ago
background: url(../images/icons/search-icon.svg) top right no-repeat;
color: #ffffff;
-webkit-text-fill-color: #ffffff;
2 years ago
border-bottom: 2px solid var(--border);
}
2 years ago
2 years ago
.search-box-content input[type=search]:focus {
2 years ago
background: url(../images/icons/search-icon.svg) top right no-repeat;
border: 0;
2 years ago
border-bottom: 2px solid var(--border);
}
2 years ago
2 years ago
.search-box-content input[type=search]:-webkit-autofill {
2 years ago
-webkit-box-shadow: 0 0 0px 1000px var(--dark) inset;
background-color: transparent;
2 years ago
color: #ffffff;
}
2 years ago
.header-search-close {
2 years ago
border: 3px solid var(--primary);
}
2 years ago
/* Header -> Page header */
.page-header {
background: #fff;
color: var(--upei-green);
2 years ago
box-shadow: inset 0px 11px 8px -10px #ccc, inset 0px -11px 8px -10px #ccc;
}
2 years ago
.page-header a:hover {
2 years ago
color: #ffffff;
}
2 years ago
.region-page-header {
2 years ago
align-items: center;
}
2 years ago
.breadcrumb {
2 years ago
color: var(--light);
}
2 years ago
.page-header .page-title {
color: #ffffff;
color: var(--upei-green);
color: var(--dark);
2 years ago
font-variant: small-caps;
}
2 years ago
/* Main
---------------------------------------- */
/* Main -> Admin tabs */
ul.page-tabs {
border-bottom: 2px solid var(--upei-red);
2 years ago
margin-top: 1rem;
}
2 years ago
.page-tabs li a {
background: #dddddd;
color: var(--upei-red);
border-right: 2px solid #fff;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
2 years ago
transition: all 0.3s ease;
}
2 years ago
.page-tabs li.active-page-tab a,
.page-tabs li a:hover {
background: var(--upei-red);
2 years ago
color: #fff;
}
2 years ago
/* Main -> Filter Module */
.filter-wrapper {
2 years ago
border: 1px solid var(--border);
}
2 years ago
/* Node Submitted Details */
.submitted-icons {
2 years ago
color: var(--primary);
}
2 years ago
.node-taxonomy-container .term-title::before {
2 years ago
font-family: "ficon";
content: "\e902";
2 years ago
color: var(--primary);
2 years ago
padding-right: 6px;
}
2 years ago
/* Sidebar
---------------------------------------- */
.sidebar .block {
background-color: #f5f5ff;
padding: 20px;
margin-bottom: 2rem;
2 years ago
box-shadow: 0 2px 2px var(--border);
}
2 years ago
.sidebar .block-title {
font-size: 2.2rem;
2 years ago
text-transform: none;
}
2 years ago
/* Comments
--------------------------------------*/
#comments {
2 years ago
border-top: 1px solid var(--border);
}
2 years ago
#comments i {
2 years ago
color: var(--primary);
}
2 years ago
/* Comments -> single comment */
.comment {
2 years ago
box-shadow: 3px 3px #cccccc;
}
2 years ago
.comment-header {
background-color: #dcdee2;
2 years ago
border-bottom: 2px solid #cccccc;
}
2 years ago
.comment-user-picture {
padding: 0 1rem;
border-right: 2px solid #cccccc;
-ms-flex: 0 0 100px;
2 years ago
flex: 0 0 100px;
}
2 years ago
.comment-title,
.comment-title a {
color: var(--secondary);
2 years ago
font-weight: 400;
}
2 years ago
.comment-reply a,
.comment-delete a,
.comment-edit a {
padding: 5px 12px;
color: #fff;
background: var(--secondary);
border-radius: 4px;
-webkit-transition: all 0.4s ease-in-out;
2 years ago
transition: all 0.4s ease-in-out;
}
2 years ago
.comment-reply a:hover,
.comment-delete a:hover,
.comment-edit a:hover {
background: var(--primary);
2 years ago
color: #ffffff;
}
2 years ago
/*
* Footer
*/
.footer-top {
background-color: var(--upei-red);
2 years ago
color: #ffffff;
}
2 years ago
.footer-blocks,
.footer-bottom-blocks,
.footer-bottom,
.footer-social {
background-color: var(--dark);
2 years ago
color: #ffffff;
}
2 years ago
.footer .block-title {
position: relative;
font-size: 1.6rem;
color: #ffffff;
padding-bottom: 12px;
2 years ago
margin-bottom: 12px;
}
2 years ago
.footer .block-title::before,
.footer .block-title::after {
2 years ago
content: "";
2 years ago
position: absolute;
left: 0;
height: 2px;
2 years ago
background: var(--primary);
}
2 years ago
.footer .block-title::before {
width: 30px;
2 years ago
bottom: 6px;
}
2 years ago
.footer .block-title::after {
width: 60px;
2 years ago
bottom: 0;
}
2 years ago
.footer a {
2 years ago
color: var(--primary);
}
2 years ago
.footer a:hover {
2 years ago
color: #ffffff;
}
2 years ago
.footer-block ul {
margin: 0;
padding: 0;
2 years ago
list-style: none;
}
2 years ago
.footer-block li {
padding: 10px 0;
2 years ago
border-bottom: 1px solid #000000;
}
2 years ago
.footer-bottom-container {
2 years ago
border-top: 2px solid #000000;
}
2 years ago
/* Footer -> customization */
.footer-logo {
max-height: 100px;
2 years ago
width: auto;
}
2 years ago
.homepage-content .block-title {
text-align: center;
2 years ago
margin-bottom: 1rem;
}
2 years ago
.frontpage-main .block,
.homepage-content-bottom .block {
2 years ago
margin-bottom: 5rem;
}
2 years ago
.region-content-home-top .block {
2 years ago
padding: 4rem 0;
}
2 years ago
.region-content-home-top .block:nth-child(even) {
position: relative;
2 years ago
background: #f0f0f0;
}
2 years ago
.region-content-home-top .block:last-child {
2 years ago
margin: 0;
}
2 years ago
.slider {
2 years ago
height: 400px;
}
2 years ago
.slider-container {
2 years ago
height: 400px;
}
2 years ago
.slider-text {
2 years ago
flex: 80%;
}
2 years ago
.slider-image {
flex: 20%;
2 years ago
margin-top: 0 !important;
}
2 years ago
.js-pager__items {
position: relative;
position: relative;
margin: 0;
padding: 1rem 0;
list-style: none;
list-style-type: none;
clear: both;
text-align: center;
}
.js-pager__items li {
display: inline-block;
padding: 12px 0;
}
.js-pager__items li a {
padding: 8px 14px;
color: #fff;
background: var(--dark);
}
.js-pager__items li a:hover,
.js-pager__items li .is-active a {
background: var(--primary);
color: #fff;
}
2 years ago
#edit-submit-dataset-search {
background-color: var(--dark-grey);
}
form#views-exposed-form-dataset-search-page-1 {
display: flex;
justify-content: center;
}
.js-form-item-search-api-fulltext {
margin: 0;
}
input#edit-search-api-fulltext {
height: 54px;
width: 100%;
2 years ago
}
2 years ago
/* Components -> Social icons */
.footer-social {
2 years ago
padding: 1rem 0;
}
2 years ago
.social-icons {
position: relative;
margin: 0;
padding: 0;
2 years ago
list-style: none;
}
2 years ago
.social-icons li {
display: inline-block;
2 years ago
margin: 0;
}
2 years ago
.social-icons li a {
display: flex;
justify-content: center;
align-items: center;
width: 44px;
height: 44px;
border: 2px solid #000000;
border-radius: 6px;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
2 years ago
transition: all 0.3s ease;
}
2 years ago
.social-icons li a:hover {
2 years ago
border: 2px solid var(--primary);
}
2 years ago
.social-icons i {
2 years ago
padding: 10px;
}
2 years ago
/* components -> Scroll To Top. */
.scrolltop {
background: var(--primary);
color: #000000;
2 years ago
transition: all 0.3s ease;
}
2 years ago
.scrolltop:hover {
background: var(--secondary);
2 years ago
color: #ffffff;
}
2 years ago
#accordion .accordion_question * {
margin: 0;
2 years ago
font-weight: bold;
}
2 years ago
#accordion .accordion_answer * {
2 years ago
margin: 0;
}
2 years ago
form#node-data-management-plan-form {
2 years ago
margin-top: 1rem;
}
2 years ago
form#node-data-management-plan-form td {
2 years ago
padding: 1rem;
}
2 years ago
form#node-data-management-plan-form td.field-multiple-drag {
padding: 0;
2 years ago
padding-top: 1rem;
}
2 years ago
form#node-data-management-plan-form .button,
form#node-data-management-plan-form .button,
form#node-data-management-plan-form button,
2 years ago
form#node-data-management-plan-form [type=button],
form#node-data-management-plan-form [type=reset],
form#node-data-management-plan-form [type=submit] {
2 years ago
background-color: #ccc;
color: initial;
border: 1px solid var(--upei-red);
border-radius: 4px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
transition: all 0.4s linear;
2 years ago
padding: 0 5px;
}
2 years ago
.footer-bottom-blocks .button {
background: var(--upei-green);
border: 4px solid var(--upei-yello);
2 years ago
padding: 0 9px;
}
2 years ago
/*
* Custom Shortcodes
*/
/* Shortcodes -> Buttons */
.link-button,
.button-link,
.button-dark {
display: inline-block;
border-radius: 30px;
padding: 0.8rem 1.8rem;
transition: all 0.3s ease;
2 years ago
border: 4px solid var(--upei-red);
}
2 years ago
a.button,
.button,
button,
2 years ago
[type=button],
[type=reset],
[type=submit] {
2 years ago
background-color: var(--dark);
color: #ffffff;
border: 4px solid var(--upei-red);
border-radius: 8px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
2 years ago
transition: all 0.4s linear;
}
2 years ago
.link-button,
.button-link {
color: #ffffff;
background-color: var(--dark);
2 years ago
border: 6px solid var(--upei-red);
}
2 years ago
.feature h3 {
2 years ago
color: var(--upei-green);
}
2 years ago
.footer a {
color: #fff;
font-family: var(--body-font);
font-weight: 100;
2 years ago
font-size: 1.2rem;
}
2 years ago
.footer-bottom-blocks .button {
background: var(--upei-green);
2 years ago
border: 4px solid var(--upei-yello);
}
2 years ago
.link-button:hover,
.button-link:hover {
color: var(--light);
background-color: var(--dark);
2 years ago
border: 4px solid var(--primary);
}
2 years ago
.button-dark {
background-color: var(--dark);
color: var(--light);
2 years ago
border: 6px solid var(--upei-red);
}
2 years ago
.button-dark:hover {
color: #ffffff;
2 years ago
border: 6px solid var(--upei-green);
}
2 years ago
/* Elements -> Box */
.box {
background-color: #ffffff;
-webkit-box-shadow: 0 0 8px 4px var(--light);
2 years ago
box-shadow: 0 0 8px 4px var(--light);
}
2 years ago
/* Icon Box */
.icon-box {
font-family: var(--body-font);
line-height: 1.7;
background-color: var(--content-bg);
box-shadow: 0 3px 6px #bbbbbb;
2 years ago
display: flex;
}
2 years ago
.icon-box-icon {
padding-right: 1rem;
2 years ago
flex: 0 0 auto;
}
2 years ago
.icon-box-text {
font-family: var(--body-font);
2 years ago
line-height: 1.7;
}
2 years ago
/*
* Features
*/
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
grid-gap: 1rem;
2 years ago
gap: 1rem;
}
2 years ago
.feature {
background-color: #ffffff;
padding: 1rem;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
transition: all 0.4s linear;
2 years ago
backface-visibility: hidden;
}
2 years ago
.feature:hover {
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
-ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
-webkit-transform: translateY(-20px);
-ms-transform: translateY(-20px);
2 years ago
transform: translateY(-20px);
}
2 years ago
.feature-icon {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1.5rem;
padding: 2rem;
width: 100px;
height: 100px;
border-radius: 50%;
background-color: var(--primary);
color: #ffffff;
transition: all 0.4s ease;
2 years ago
box-shadow: 0 0 10px 2px #ffffff;
}
2 years ago
.feature:hover .feature-icon {
background-color: #ffffff;
-webkit-box-shadow: 0 0 10px 2px var(--secondary);
2 years ago
box-shadow: 0 0 10px 2px var(--secondary);
}
2 years ago
.feature .link-button {
2 years ago
display: inline-block;
}
2 years ago
/*
* Notice
*/
.notice-block {
position: relative;
background-color: var(--primary);
padding: 2rem;
2 years ago
width: 100%;
}
2 years ago
.notice-block .views-row {
2 years ago
padding: 1rem 0;
}
2 years ago
.notice-block .views-field-title {
font-family: var(--heading-font);
font-size: 1.4rem;
2 years ago
font-weight: 700;
}
2 years ago
.notice-block .views-field-title a {
2 years ago
color: var(--dark);
}
2 years ago
.notice-block .views-field-title a:hover {
2 years ago
color: #ffffff;
}
2 years ago
.notice-block .views-row {
2 years ago
border-bottom: 1px solid var(--dark);
}
2 years ago
@media (min-width: 768px) {
/* Header */
.header-top-block {
2 years ago
text-align: left;
}
2 years ago
.site-brand img {
2 years ago
max-height: 60px;
}
2 years ago
/* Header -> Page Header */
.page-header {
2 years ago
padding: 2rem 0 2rem 0;
}
2 years ago
/* Frontpage */
.homepage-content .block-title::before {
position: absolute;
2 years ago
content: "";
2 years ago
width: 40px;
height: 2px;
background: var(--primary);
top: 50%;
-webkit-transform: translateX(-50px);
2 years ago
transform: translateX(-50px);
}
2 years ago
.homepage-content .block-title::after {
position: absolute;
2 years ago
content: "";
2 years ago
width: 40px;
height: 2px;
background: var(--primary);
top: 50%;
-webkit-transform: translateX(10px);
2 years ago
transform: translateX(10px);
}
2 years ago
.region-content-home-top .block:nth-child(odd) {
2 years ago
margin-bottom: 10rem;
}
2 years ago
.region-content-home-top .block:last-child:nth-child(odd) {
2 years ago
margin-bottom: 0;
}
2 years ago
.region-content-home-top .block:nth-child(even) {
2 years ago
padding: 0 0 4rem 0;
}
2 years ago
.region-content-home-top .block:nth-child(even)::before {
position: absolute;
2 years ago
content: "";
2 years ago
top: -10rem;
left: 0;
height: 10rem;
width: 100%;
background: #f0f0f0;
2 years ago
clip-path: polygon(0 0, 100% 90%, 100% 100%, 0% 100%);
}
2 years ago
/* Notice */
.notice-block {
2 years ago
width: 98%;
}
2 years ago
.notice-block::before {
position: absolute;
2 years ago
content: "";
2 years ago
top: 0;
left: 0;
background-color: var(--secondary);
width: 95%;
height: 100%;
z-index: -1;
2 years ago
transform: rotate(-5deg);
}
2 years ago
.feature {
2 years ago
padding: 2rem;
}
}
2 years ago
@media (min-width: 992px) {
/* Header */
.site-brand img {
2 years ago
max-height: 80px;
}
2 years ago
/* Header -> Main menu */
.menu-wrap ul.menu li {
background: linear-gradient(to bottom, transparent 50%, var(--dark) 50%);
background-size: 100% 200%;
2 years ago
transition: all 0.2s linear;
}
2 years ago
.menu-wrap ul.menu li:hover {
2 years ago
background-position: 0 -100%;
}
2 years ago
.menu-wrap ul.menu li:hover a {
2 years ago
color: var(--light);
}
2 years ago
ul.main-menu li a:hover {
2 years ago
color: var(--primary);
}
2 years ago
.menu-wrap .menu li span.dropdown-arrow {
-webkit-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
2 years ago
transition: all 0.3s ease-in-out;
}
2 years ago
.menu-wrap ul.menu li.expanded:hover .dropdown-arrow,
2 years ago
.menu-wrap ul.menu li.collapsed:hover .dropdown-arrow {
2 years ago
-webkit-transform: rotate(135deg);
-ms-transform: rotate(135deg);
2 years ago
transform: rotate(135deg);
}
2 years ago
.menu-wrap ul.menu ul.submenu {
top: 36px;
2 years ago
background-color: var(--dark);
}
2 years ago
.menu-wrap ul.menu ul.submenu li {
2 years ago
border-bottom: 1px solid var(--primary);
}
2 years ago
.menu-wrap ul.menu ul.submenu li a:hover {
2 years ago
color: #ffffff;
}
}
2 years ago
@media (min-width: 1170px) {
/* Header */
.site-brand img {
2 years ago
max-height: 90px;
}
}
.search-results ul {
list-style: none;
padding: 0;
}
.search-result {
background-color: #ffffff;
-webkit-box-shadow: 0 0 8px 4px var(--light);
box-shadow: 0 0 8px 4px var(--light);
border: 1px solid #ccc;
margin: 1em;
padding: 1em;
}
.search-result dl {
margin: 0;
}
.search-result dl dt {
float: left;
width: 5em;
}
.search-result dl dd {
margin: 0 0 0.5rem 0;
}
.search-result dl dd:last-child {
margin: 0;
}
2 years ago
.slider-image {
2 years ago
margin-top: 4rem;
}
2 years ago
.slider-text,
.slider-text h1,
.slider-text h2,
.slider-text h3,
.slider-text h4 {
2 years ago
color: var(--dark-grey);
}
2 years ago
2 years ago
.slider-text p {
font-size: 1em;
}
2 years ago
.slider {
2 years ago
background: var(--content-bg);
}
2 years ago
div#block-homepagewelcome {
color: #fff !important;
2 years ago
background: #789d4a;
}
2 years ago
div#block-homepagewelcome a {
2 years ago
color: var(--upei-red);
}
2 years ago
div#block-homepagewelcome h2,
div#block-homepagewelcome p {
2 years ago
color: #fff !important;
}
2 years ago
.toolbar-horizontal .search-box.open {
margin-top: 38px;
}
.toolbar-horizontal.toolbar-tray-open .search-box.open {
margin-top: 84px;
}
div#block-homepagewelcome-2 {
color: #fff !important;
background: #789d4a;
}
div#block-homepagewelcome-2 a {
color: var(--upei-red);
}
div#block-homepagewelcome-2 p {
color: #fff !important;
font-size: 1.5em;
}
div#block-homepagewelcome-2 h2 {
color: #fff !important;
font-size: 2.25em;
}
2 years ago
/*# sourceMappingURL=style.css.map */