Add wiki callout
This commit is contained in:
parent
9276274c6b
commit
0c556dbc84
2 changed files with 33 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
@use "./base.scss";
|
||||
@use "./wiki.scss";
|
||||
|
||||
// put your custom CSS here!
|
||||
@media (min-width: 600px) {
|
||||
|
|
32
quartz/styles/wiki.scss
Normal file
32
quartz/styles/wiki.scss
Normal file
|
@ -0,0 +1,32 @@
|
|||
.callout[data-callout~="wiki"],
|
||||
.callout[data-callout~="infobox"] {
|
||||
--callout-color: var(--interactive-accent-rgb);
|
||||
background: var(--note, var(--background-primary));
|
||||
box-shadow: none;
|
||||
margin: 0;
|
||||
float: right;
|
||||
border: 0;
|
||||
width: 40%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
//margin-left: 8px;
|
||||
|
||||
& > .callout-title,
|
||||
& > * thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
& > * table {
|
||||
margin: 0;
|
||||
line-height: 2rem;
|
||||
}
|
||||
}
|
||||
@media (max-width: 830px) {
|
||||
.callout[data-callout~="wiki"],
|
||||
.callout[data-callout~="infobox"] {
|
||||
float: unset;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue