Remove favicon and logo assets and update button styling
Refactor button styles into reusable component Update navigation to use button component Move logo to assets directory
This commit is contained in:
parent
6b94f63133
commit
ea6a97b6cb
6 changed files with 50 additions and 47 deletions
|
|
@ -91,24 +91,9 @@ header {
|
|||
margin-top: .4rem;
|
||||
padding: 0;
|
||||
justify-content: flex-end;
|
||||
/* align-self: end; */
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
border-radius: 1rem;
|
||||
background-color: var(--color-grey);
|
||||
padding: 0.35rem 1rem;
|
||||
margin-left:0.4rem;
|
||||
margin-top:0.4rem;
|
||||
&:hover, &.active {
|
||||
background-color: var(--color-green);
|
||||
color: white;
|
||||
}
|
||||
&:focus {
|
||||
outline: .1rem var(--color-green) solid;
|
||||
color: var(--color-grey);
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -132,6 +117,49 @@ main {
|
|||
|
||||
/* FOOTER */
|
||||
|
||||
/* BUTTONS */
|
||||
.button {
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
border-radius: 1rem;
|
||||
padding: 0.35rem 1rem;
|
||||
background-color: var(--color-grey);
|
||||
color: white;
|
||||
|
||||
&:hover, &.active {
|
||||
background-color: var(--color-green);
|
||||
color: white;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: 0.1rem var(--color-green) solid;
|
||||
color: var(--color-grey);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
&.inverted {
|
||||
background-color: white;
|
||||
color: var(--color-grey);
|
||||
|
||||
&:hover, &.active {
|
||||
background-color: var(--color-green-light);
|
||||
color: var(--color-green);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: 0.1rem white solid;
|
||||
color: white;
|
||||
background-color: var(--color-grey);
|
||||
}
|
||||
}
|
||||
|
||||
&.bigger {
|
||||
font-size: 1.2em;
|
||||
padding: calc(0.35rem * 1.2) calc(1rem * 1.2);
|
||||
border-radius: calc(1rem * 1.2);
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
color: var(--color-green-light);
|
||||
a {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue