add Locale callout
This commit is contained in:
parent
78483da3fb
commit
f5e1ce4203
2 changed files with 39 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
@use "./base.scss";
|
@use "./base.scss";
|
||||||
@use "./wiki.scss";
|
@use "./wiki.scss";
|
||||||
|
@use "./locale.scss";
|
||||||
|
|
||||||
// put your custom CSS here!
|
// put your custom CSS here!
|
||||||
@media (min-width: 600px) {
|
@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