Skip to content

Commit

Permalink
Merge pull request #533 from CuBoulder/issue/529
Browse files Browse the repository at this point in the history
Issue/529
  • Loading branch information
jcsparks authored Nov 2, 2023
2 parents 1f7d39e + c8ded03 commit 33a3017
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 8 deletions.
1 change: 1 addition & 0 deletions boulder_base.theme
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function boulder_base_preprocess_page(array &$variables) {
$variables['site_slogan'] = $config->get('slogan');
$variables['ucb_secondary_menu_position'] = theme_get_setting('ucb_secondary_menu_position');
$variables['ucb_footer_menu_default_links'] = theme_get_setting('ucb_footer_menu_default_links');
$variables['show_breadcrumb'] = theme_get_setting('ucb_breadcrumb_nav');
$variables['theme_path'] = base_path() . $variables['directory'];
$variables['ucb_campus_header_color'] = theme_get_setting('ucb_campus_header_color');
$variables['ucb_header_color'] = $headerColor = theme_get_setting('ucb_header_color');
Expand Down
6 changes: 2 additions & 4 deletions css/block/content-grid.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
margin-bottom: 1em;
}

.overlay-grid-image-container h3 {
.overlay-grid-image-container h2, .overlay-grid-image-container h3 {
padding: 0.75rem;
position: absolute;
bottom: 0;
Expand All @@ -83,11 +83,9 @@
margin-bottom: 0;
color: white;
width: 100%;
font-size: 100%
}

.overlay-grid-text {
margin-bottom: 1em;
}

/*** Offest Grid Layout ***/
.grid-image-container-large .grid-fill {
Expand Down
8 changes: 6 additions & 2 deletions css/block/video-reveal.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
.ucb-video-reveal {
margin-top: 20px;
aspect-ratio: 16/9;
}

.ucb-video-text-div {
position: relative;
}

.ucb-edge-to-edge .ucb-video-reveal-text {
padding-left: 50px;
padding-right: 50px;
}

.ucb-video-reveal-controls {
position: absolute;
top: 50%;
Expand Down Expand Up @@ -41,6 +45,7 @@ span.ucb-vid-reveal-icon {

.ucb-video-reveal-image img {
width: 100%;
padding-bottom: 20px;
}

.ucb-video-reveal-image .media-image-caption {
Expand All @@ -52,7 +57,6 @@ span.ucb-vid-reveal-icon {
padding-bottom: 0px;
max-height: 600px;
object-fit: cover;
aspect-ratio: 16/9;
}

.ucb-video-reveal-video-wrapper{
Expand Down
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ body {
}

main {
padding: 0 0 10px 0;
padding: 0 0 0 0;
}

h1,
Expand Down
6 changes: 5 additions & 1 deletion css/ucb-page.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
Placeholder for styles for the basic page
*/
*/

.ucb-page-title {
padding-top: 10px;
}
4 changes: 4 additions & 0 deletions css/ucb-people-list.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.ucb-people-list-title {
padding-top: 10px;
}

.ucb-list-msg {
font-size: 1.25em;
font-weight: bolder;
Expand Down
2 changes: 2 additions & 0 deletions css/ucb-person.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.ucb-person-header {
padding-top: 1em;
margin-bottom: 10px;
}

.ucb-person-name {
padding-top: 10px;
margin-bottom: 0;
}

Expand Down
2 changes: 2 additions & 0 deletions templates/layout/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,11 @@

{# MAIN PAGE CONTENT #}
<div class="ucb-page-content">
{% if show_breadcrumb %}
<div class="ucb-breadcrumb-region">
{{ page.breadcrumb }}
</div>
{% endif %}

{{ page.highlighted }}

Expand Down

0 comments on commit 33a3017

Please sign in to comment.