Skip to content

Commit

Permalink
WOMACT-38 Restore footer + width/spacing/fonts/colour
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Feb 6, 2024
1 parent 00cbb9a commit d2b7f41
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 42 deletions.
27 changes: 0 additions & 27 deletions configuration/block.block.womenactivists_lib_unb_ca_footer.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 9285732e-5da8-4c14-b51f-c97593b031da
langcode: en
status: true
dependencies:
module:
- womact_static
theme:
- womenactivists_lib_unb_ca
id: womenactivists_lib_unb_ca_womactfooter
theme: womenactivists_lib_unb_ca
region: footer
weight: 0
provider: null
plugin: womact_footer
settings:
id: womact_footer
label: 'WOMACT Footer'
label_display: '0'
provider: womact_static
visibility: { }
4 changes: 2 additions & 2 deletions configuration/core.menu.static_menu_link_overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ _core:
default_config_hash: jdY7AU0tU-QsjmiOw3W8vwpYMb-By--_MSFgbqKUTYM
definitions:
contact__site_page:
enabled: false
menu_name: footer
parent: ''
weight: 0
expanded: false
enabled: true
weight: 0
13 changes: 12 additions & 1 deletion configuration/views.view.slideshow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,18 @@ display:
replica: false
query_tags: { }
relationships: { }
header: { }
header:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: false
content: 'PROFILES OF WISDOM'
tokenize: false
footer: { }
display_extenders: { }
cache_metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $local-tasks-secondary-margin: 0 0 1rem 0 !default;
$table-striped-bg: #f9f9f9 !default;

// Custom theme variables.
$lavender: #ac7cbc40;
$lavender: #976da5;
$purple: #2a0038;
$sand: #fcf9d9;
$gray: #7c7c7c;
60 changes: 49 additions & 11 deletions custom/themes/womenactivists_lib_unb_ca/src/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,21 @@ html {
body {
header {
nav.navbar {
padding: 0;
background-color: $secondary !important;
.container {
padding: 1rem;
background-color: $primary;
.region-nav-branding {
#block-womenactivists-lib-unb-ca-branding {
.navbar-brand {
.site-title {
font-size: 2rem;
margin: 0;
padding: 0;
> div {
line-height: 2rem;
.site-title {
font-size: 2rem;
}
}
}
}
Expand All @@ -32,7 +41,7 @@ html {
main {
> .container {
padding: 0 !important;
background-color: $sand !important;
background-color: $light !important;
.region-content {
color: $gray-700;
a:active,
Expand All @@ -44,15 +53,39 @@ html {
}
padding: 0;
#block-womenactivists-lib-unb-ca-content {
.view-content {
columns: 2;
.col-sm-5,
.col-sm-7 {
padding: 0 !important;
.view-slideshow {
.view-header {
width: 75%;
height: 2rem;
margin-left: 25%;
padding-left: 2rem;
vertical-align: middle;
border-bottom-left-radius: 2rem;
background: $primary !important;
color: $light;
}
.slide-name,
.slide-bio {
padding-left: 1rem !important;
.view-content {
columns: 2;
.col-sm-5 {
padding: 0 !important;
}
.col-sm-7 {
.slide-name {
font-size: 1.4rem;
}
}
.slide-name {
padding: 2rem 1rem 0;
}
.slide-bio {
padding: .5rem 1rem;
> a {
padding-top: .5rem;
}
}
.slide-name > a {
padding: 0;
}
}
}
}
Expand All @@ -61,5 +94,10 @@ html {
}
}
footer {
padding: 0;
.container {
padding: 0;
background-color: $primary !important;
}
}
}

0 comments on commit d2b7f41

Please sign in to comment.