mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 21:51:40 +00:00
⚒️ Adds alertbox to all definitions (#218)
* Adds alertbox to definition pages * Fixes syntax of links and improves wording of callout links to contribute
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
|
||||
// 5. Components
|
||||
@import 'components/word', 'components/lists', 'components/definitions',
|
||||
'components/flag';
|
||||
'components/flag', 'components/alertbox';
|
||||
|
||||
// 6. Page-specific styles
|
||||
@import './layouts/pages';
|
||||
|
13
assets/css/components/_alertbox.scss
Normal file
13
assets/css/components/_alertbox.scss
Normal file
@ -0,0 +1,13 @@
|
||||
.alertbox {
|
||||
border: 2px solid black;
|
||||
padding: 2.25rem;
|
||||
|
||||
&__title {
|
||||
font-size: 1.5rem;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&__content:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
@ -29,6 +29,10 @@
|
||||
max-width: 47rem;
|
||||
}
|
||||
|
||||
.definition > .alertbox {
|
||||
margin: 2.25rem 0;
|
||||
}
|
||||
|
||||
.definition__further-definitions_nav {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
Reference in New Issue
Block a user