Browse Source

added fontawesome

master
rdrew 7 months ago
parent
commit
5101c6a22c
  1. 2
      css/base.css
  2. 30
      css/components.css
  3. 16
      css/islandora_mods.css
  4. 2
      vre2024.info.yml

2
css/base.css

@ -305,7 +305,7 @@ button,
position: relative; position: relative;
cursor: pointer; cursor: pointer;
border: 0; border: 0;
padding: 8px 10px; padding: 4px 8px;
line-height: 1.6; line-height: 1.6;
-webkit-appearance: button; -webkit-appearance: button;
background: var(--upei-green); background: var(--upei-green);

30
css/components.css

@ -83,8 +83,7 @@ ul.page-tabs {
font-optical-sizing: auto; font-optical-sizing: auto;
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
font-variation-settings: font-variation-settings: "wdth" 75;
"wdth" 75;
background-color: var(--page-tab-bg-color); background-color: var(--page-tab-bg-color);
color: var(--page-tab-text-color); color: var(--page-tab-text-color);
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
@ -183,14 +182,35 @@ ul.inline li a {
padding: 12px 0; padding: 12px 0;
} }
.pager__item a { .pager__item a {
padding: 8px 14px; padding: 4px 8px;
color: #fff; color: #fff;
background: var(--dark); color: var(--upei-green);
/*background: var(--dark);*/
border: 1px solid var(--upei-green);
border-radius: 5px;
font-family: var(--tabs-font);
font-optical-sizing: auto;
/*font-weight: 300;*/
font-style: normal;
/*font-variation-settings: "wdth" 75;*/
} }
.pager__item a:hover, .pager__item a:hover,
.pager__item.is-active a { .pager__item.is-active a,
.pager__link--is-active {
background: var(--primary); background: var(--primary);
background: var(--upei-green);
text-decoration: none !important;
color: #fff;
}
.pager__item a.pager__link--is-active {
color: #fff;
text-decoration: none !important;
}
.pager__link--is-active a {
text-decoration: none !important;
color: #fff; color: #fff;
/*border: solid 2px #0d77b5;*/
} }
/* vertical Tabs */ /* vertical Tabs */
.vertical-tabs__panes { .vertical-tabs__panes {

16
css/islandora_mods.css

@ -69,3 +69,19 @@ div#block-views-block-oai-pmh-item-links-block-1 .field-content {
/*padding-right: 4px;*/ /*padding-right: 4px;*/
} }
} }
/*collection grid*/
.view-grid {
/*display: none;*/
display: flex;
flex: wrap;
justify-content: space-between;
.views-row {
/*display: none;*/
width: 32%;
padding-bottom: 18%; /* 32:18, i.e. 16:9 */
margin-bottom: 2%; /* (100-32*3)/2 */
}
}
.advanced_search_result_pager .pager__group {
justify-content: flex-start;
}

2
vre2024.info.yml

@ -7,7 +7,7 @@ starterkit: true
core_version_requirement: ^9 || ^10 core_version_requirement: ^9 || ^10
libraries: libraries:
- vre2024/global-styling - vre2024/global-styling
#- vre2024/fontawesome4 - vre2024/fontawesome4
#- vre2024/fontawesome5 #- vre2024/fontawesome5
#- vre2024/bootstrap-icons #- vre2024/bootstrap-icons
regions: regions:

Loading…
Cancel
Save