-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Marcel Kornblum <[email protected]> Co-authored-by: Sam Dudley <[email protected]> Co-authored-by: marcelkornblum <[email protected]>
- Loading branch information
1 parent
40c01d2
commit 640f7ea
Showing
46 changed files
with
880 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
.new-home { | ||
margin-top: 0; | ||
|
||
section { | ||
border-bottom: 1px solid $brand-color-grey50; | ||
|
||
.header-with-action { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: baseline; | ||
} | ||
} | ||
|
||
section.homepage-site-alert { | ||
margin: 0 0 20px 0; | ||
border: none; | ||
|
||
&:empty { | ||
margin: 0; | ||
padding: 0 !important; | ||
} | ||
} | ||
|
||
.updates { | ||
li::marker { | ||
content: "⇨"; | ||
} | ||
|
||
li { | ||
list-style-position: outside; | ||
margin-left: 1rem; | ||
padding-left: 0.3rem; | ||
|
||
p { | ||
display: inline; | ||
} | ||
} | ||
} | ||
|
||
// NEWS | ||
.home-news-item { | ||
position: relative; | ||
|
||
.home-news-item-text-content { | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
background-color: rgba(255, 255, 255, 0.85); | ||
width: 100%; | ||
padding: 10px; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
.main-news-item { | ||
.home-news-item { | ||
margin-bottom: 10px; | ||
|
||
.frame { | ||
img { | ||
inline-size: 100%; | ||
block-size: 100%; | ||
object-fit: cover; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.ws-news-grid-items { | ||
margin-bottom: 20px; | ||
|
||
h4.govuk-body-s { | ||
font-weight: bold; | ||
margin-bottom: 10px; | ||
} | ||
|
||
h4 > a { | ||
text-decoration: none; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
|
||
.govuk-news { | ||
h2 { | ||
column-span: all; | ||
} | ||
|
||
li { | ||
display: inline-block; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
font-weight: bold; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 768px) { | ||
.ws-news-grid-items { | ||
gap: 20px; | ||
display: flex; | ||
block-size: auto; | ||
overflow-x: auto; | ||
overflow-y: hidden; | ||
} | ||
} | ||
|
||
.ws-whats-popular { | ||
column-count: unset; | ||
|
||
li.ws-whats-popular-item { | ||
position: relative; | ||
margin-bottom: 20px; | ||
|
||
img { | ||
width: 300px; | ||
height: 100px; | ||
} | ||
|
||
p { | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
background-color: rgba(255, 255, 255, 0.85); | ||
width: 100%; | ||
padding: 10px !important; | ||
margin: 0 !important; | ||
font-weight: bold; | ||
|
||
a { | ||
text-decoration: none; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
p.govuk-body-xs { | ||
margin: 0 !important; | ||
} | ||
} | ||
|
||
.ws-secondary-content { | ||
.new-home { | ||
li { | ||
margin-bottom: 12px; | ||
|
||
a { | ||
text-decoration: none; | ||
font-weight: bold; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -455,7 +455,6 @@ TransitionHome | |
Turks | ||
Tuvalu | ||
TW | ||
TWITTER_OAUTH_CONSUMER_KEY | ||
type="search"/ | ||
UG | ||
United Arab Emirates | ||
|
Oops, something went wrong.