1
0
Fork 0

Add wiki callout

This commit is contained in:
Lucas 2024-01-26 14:40:57 +01:00
parent 9276274c6b
commit 0c556dbc84
2 changed files with 33 additions and 0 deletions

View file

@ -1,4 +1,5 @@
@use "./base.scss"; @use "./base.scss";
@use "./wiki.scss";
// put your custom CSS here! // put your custom CSS here!
@media (min-width: 600px) { @media (min-width: 600px) {

32
quartz/styles/wiki.scss Normal file
View 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%;
}
}