add Locale callout
This commit is contained in:
parent
204a7d196f
commit
25571074bd
3 changed files with 40 additions and 1 deletions
2
content
2
content
|
@ -1 +1 @@
|
|||
Subproject commit dcb8169206251554544a83420aea7a5da802ca49
|
||||
Subproject commit 65280abf8dbedc478cf7817f5f8fe2caebda67a8
|
|
@ -1,5 +1,6 @@
|
|||
@use "./base.scss";
|
||||
@use "./wiki.scss";
|
||||
@use "./locale.scss";
|
||||
|
||||
// put your custom CSS here!
|
||||
@media (min-width: 600px) {
|
||||
|
|
38
quartz/styles/locale.scss
Normal file
38
quartz/styles/locale.scss
Normal file
|
@ -0,0 +1,38 @@
|
|||
.callout[data-callout~="local"] {
|
||||
//float: right;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border-radius: unset;
|
||||
overflow: unset;
|
||||
position: relative;
|
||||
z-index: 4;
|
||||
background-color: unset;
|
||||
border: unset;
|
||||
& > .callout-title,
|
||||
& > p {
|
||||
justify-content: flex-end;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
z-index: 5;
|
||||
border-radius: unset;
|
||||
|
||||
& > .callout-icon {
|
||||
display: none;
|
||||
}
|
||||
& img {
|
||||
border-radius: unset;
|
||||
}
|
||||
}
|
||||
& > * a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
font-size: 0;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue