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.

1392 lines
24 KiB

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