Skip to content

Commit

Permalink
add css
Browse files Browse the repository at this point in the history
  • Loading branch information
JWanderema committed Jul 16, 2021
1 parent 15da0e8 commit a48ace9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions govuk-internal-dq/login/resources/css/govuk-internal-dq.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@charset "UTF-8";
/* GOV.UK customisations to implement beta internal header pattern (see https://home-office-digital-patterns.herokuapp.com/header) */
@media (min-width: 769px) {
#global-header .header-wrapper .header-global .header-logo {
width: auto; } }

.lte-ie8 #global-header .header-wrapper .header-global .header-logo {
width: auto; }

/* Imitate #global-header #logo img (including the space after it!) from GOV.UK template, so that theme users don’t have to include the actual <img> tag in Display Name HTML when customising their header link */
#logo::before {
content: '';
display: inline-block;
width: 36px;
height: 32px;
margin: 2px 1px 0 0;
vertical-align: bottom;
background: url("../vendor/govuk_template/images/gov.uk_logotype_crown_invert_trans.png?0.19.2") no-repeat;
visibility: hidden; }

#logo:before {
content: '';
display: inline-block;
width: 36px;
height: 32px;
margin: 2px 1px 0 0;
vertical-align: bottom;
background: url("../vendor/govuk_template/images/gov.uk_logotype_crown_invert_trans.png?0.19.2") no-repeat;
visibility: hidden; }
2 changes: 1 addition & 1 deletion govuk-internal-dq/login/theme.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
parent=govuk
styles=css/govuk-internal.css
styles=css/govuk-internal-dq.css

0 comments on commit a48ace9

Please sign in to comment.