Skip to content

Commit

Permalink
Merge pull request #208 from localgovdrupal/1.x
Browse files Browse the repository at this point in the history
release 1.2.12
  • Loading branch information
markconroy authored May 25, 2022
2 parents 0c60fd5 + 90c1edf commit 3154015
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion css/base/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ body {

a {
color: var(--color-link);
transition: var(--transition-time);
}

a:hover {
text-decoration-thickness: max(3px, 0.1875rem, 0.12em);
}

a:focus {
transition: var(--transition-time);
text-decoration: none;
color: var(--color-black);
outline: 3px solid transparent;
Expand Down
14 changes: 14 additions & 0 deletions css/components/video.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* Video player */
.field--name-field-media-oembed-video {
position: relative;
padding-bottom: 56.25%;
/* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
}

.field--name-field-media-oembed-video iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

0 comments on commit 3154015

Please sign in to comment.