MtF-wiki/assets/customize.scss

164 lines
2.6 KiB
SCSS
Raw Normal View History

2022-08-08 20:31:28 +08:00
a.shields {
display: inline;
img {
display: inline;
vertical-align: text-bottom;
border: none;
border-radius: 0%;
}
}
a.github-profile {
display: inline-block;
vertical-align: middle;
2022-02-08 09:48:02 +08:00
text-decoration: none !important;
color: inherit;
img {
display: inline-block;
height: 2em;
vertical-align: middle;
border-radius: 50%;
border: #aaa;
}
2022-02-12 19:58:01 +08:00
b {
margin: 0 1ex;
}
}
.gh-contribuors {
display: grid;
margin: 0 0 1rem;
2022-02-08 09:48:02 +08:00
padding: 0 1rem;
grid-gap: 0.5rem;
grid-template-columns: repeat(auto-fit, minmax(2rem, 1fr));
2021-12-25 06:17:44 +08:00
img {
width: 2rem;
height: 2rem;
border-radius: 50%;
border: #aaa;
2021-12-25 06:17:44 +08:00
}
}
.csv-table {
2022-08-08 20:31:28 +08:00
width: max-content;
max-width: max-content !important;
white-space: nowrap;
th {
text-align: center;
}
}
2022-07-30 20:55:29 +08:00
.mtf-wiki > {
.c1 {
color: #5bcefa;
}
2022-07-30 20:55:29 +08:00
.c2 {
color: #f6a8b8;
}
2022-07-30 20:55:29 +08:00
.dot {
color: #ccc;
}
}
.doctor-story {
display: inline !important;
height: 6em;
vertical-align: middle;
}
.user-tag {
font-weight: 700;
line-height: 1;
2022-02-08 09:48:02 +08:00
display: inline-block;
padding: 0.25em 0.6em 0.4em;
text-align: center;
white-space: nowrap;
2022-02-08 09:48:02 +08:00
border-radius: 10em;
&.positive {
color: #fff;
background-color: #28a745;
}
&.negative {
color: #212529;
background-color: #ffc107;
}
}
.sign-off-by {
text-align: right;
}
2022-02-01 13:54:05 +08:00
.single__contents {
h2 {
margin-top: 1.5rem;
}
blockquote {
padding: 0;
}
}
2022-02-02 17:44:26 +08:00
.single__contents[data-dir="ltr"] {
2022-02-03 04:04:24 +08:00
a {
text-decoration: none;
}
2022-02-02 17:44:26 +08:00
ol > li,
ul > li {
ol > li,
ul > li {
2022-02-01 14:35:40 +08:00
margin-left: 1.5rem;
}
}
}
2022-02-01 13:54:05 +08:00
.notices {
padding-left: 0.5em;
2022-02-02 17:44:26 +08:00
ol,
ul {
2022-02-01 14:35:40 +08:00
padding-left: 1rem;
}
2022-02-01 10:26:58 +08:00
}
2022-02-02 17:44:26 +08:00
p.text-center {
text-align: center;
}
span.shadow-text {
color: #252525;
background-color: #252525;
text-shadow: none;
&:hover,
&:active {
transition: color 0.13s linear;
color: #fff;
}
}
2022-02-08 00:37:59 +08:00
.inline-img {
display: inline-block !important;
height: 4em;
vertical-align: middle;
border: none !important;
}
2022-02-09 09:37:29 +08:00
.qrcode > img {
2022-07-13 17:41:13 +08:00
margin: 0 1rem 1rem;
padding: 0 1rem 1rem;
2022-02-09 09:37:29 +08:00
border: 0;
2022-02-09 00:51:38 +08:00
}
2022-02-08 00:37:59 +08:00
.trans-flag {
2022-02-08 09:48:02 +08:00
display: inline-block;
width: 1em;
height: 1em;
margin: 0 0.05em 0 0.1em;
vertical-align: -0.1em;
background: url("/images/trans-flag.svg") no-repeat center / 1em 1em;
}
a.anchor {
font-size: 0.6em;
vertical-align: top;
color: #0594cb;
&:hover,
&:focus {
transition: color 0.15s ease-in;
color: #96ccff;
}
2022-02-08 00:37:59 +08:00
}
.highlight {
code,
2022-08-08 20:31:28 +08:00
pre,
span {
font-family: "Courier New", Courier, monospace;
2022-08-08 20:31:28 +08:00
background-color: transparent !important;
}
.lntd code {
2022-08-08 20:31:28 +08:00
margin: 0 !important;
padding: 0 !important;
}
}