Adjust home and process index styles
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// -----------------
|
||||
.brand-heading {
|
||||
background: $brand;
|
||||
margin-bottom: 2rem;
|
||||
margin-bottom: 5rem;
|
||||
|
||||
.column {
|
||||
padding-top: 10rem;
|
||||
@@ -58,7 +58,7 @@
|
||||
// 03. Legislation cards
|
||||
// -----------------
|
||||
.legislation {
|
||||
margin: 0 0 4rem 0;
|
||||
margin: 0 0 5rem 0;
|
||||
background: white;
|
||||
border: 1px solid;
|
||||
border-color: #e5e6e9 #dfe0e4 #d0d1d5;
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
$epigraph-font-size: rem-calc(15);
|
||||
|
||||
// 02. Hero
|
||||
// -----------------
|
||||
.legislation-hero {
|
||||
@@ -63,7 +65,9 @@
|
||||
|
||||
#debate-info {
|
||||
display: none;
|
||||
margin-top: 1rem;
|
||||
margin-top: 3rem;
|
||||
padding-top: 4rem;
|
||||
border-top: 1px solid darken($border, 10%);
|
||||
|
||||
@include breakpoint(medium) {
|
||||
margin-bottom: 2rem;
|
||||
@@ -80,6 +84,7 @@
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: $base-font-size;
|
||||
@include breakpoint(medium) {
|
||||
margin-left: 25%;
|
||||
}
|
||||
@@ -97,7 +102,7 @@
|
||||
}
|
||||
|
||||
.center .button {
|
||||
background: #004A83;
|
||||
background: $brand;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -112,6 +117,14 @@
|
||||
|
||||
.description {
|
||||
margin-bottom: 1rem;
|
||||
|
||||
p {
|
||||
font-size: $epigraph-font-size;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
|
||||
@include breakpoint(medium) {
|
||||
margin-bottom: 0;
|
||||
@@ -145,61 +158,75 @@
|
||||
// -----------------
|
||||
.legislation-process-categories {
|
||||
position: relative;
|
||||
|
||||
svg {
|
||||
position: absolute;
|
||||
top: 1.5rem;
|
||||
left: 0;
|
||||
|
||||
@include breakpoint(medium) {
|
||||
transform: rotate(-8deg);
|
||||
top: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-top: 4rem;
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
|
||||
.legislation-process-list {
|
||||
border-bottom: 1px solid $medium-gray;
|
||||
|
||||
li {
|
||||
cursor: pointer;
|
||||
margin: 0 1rem 1rem 1rem;
|
||||
|
||||
@include breakpoint(medium) {
|
||||
margin-left: 0;
|
||||
display: inline-block;
|
||||
margin-bottom: 1rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
max-width: 75rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
list-style: none;
|
||||
padding-top: 4rem;
|
||||
padding-left: 0;
|
||||
margin-bottom: 0;
|
||||
|
||||
@include breakpoint(medium) {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
svg {
|
||||
position: absolute;
|
||||
top: 1.5rem;
|
||||
|
||||
@media (min-width: 950px) {
|
||||
margin-right: 0;
|
||||
margin-left: 3rem;
|
||||
margin-bottom: 0;
|
||||
@include breakpoint(medium) {
|
||||
transform: rotate(-8deg);
|
||||
top: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
a,
|
||||
h4 {
|
||||
color: #6D6D6D;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
&:hover, &:active {
|
||||
text-decoration: none;
|
||||
li {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
margin: 0 1rem 1rem 0;
|
||||
|
||||
&:first-of-type {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
@media (min-width: 950px) {
|
||||
margin: 0 0 0 3rem;
|
||||
}
|
||||
|
||||
@include breakpoint(medium) {
|
||||
margin-bottom: 1rem;
|
||||
a,
|
||||
h4 {
|
||||
color: #6D6D6D;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
&:hover, &:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
|
||||
@include breakpoint(medium) {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.active {
|
||||
border-bottom: 2px solid $brand;
|
||||
.active {
|
||||
border-bottom: 2px solid $brand;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user