2024-07-25 06:10:24 +00:00
|
|
|
/* Text Box */
|
|
|
|
.text-box {
|
|
|
|
background: var(--clr-quote-bg);
|
|
|
|
border: 0.1em solid var(--clr-main-heading);
|
|
|
|
padding: 0.8em;
|
|
|
|
margin: 1em 0;
|
|
|
|
display: grid;
|
|
|
|
gap: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Inline Navigation */
|
|
|
|
.inline-nav {
|
|
|
|
--inline-nav-gap: 0.5em;
|
|
|
|
list-style-type: "";
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
gap: 0.25em var(--inline-nav-gap);
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-nav li:not(:last-child)::after {
|
|
|
|
content: '•';
|
|
|
|
padding-left: var(--inline-nav-gap);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Mod Entry */
|
|
|
|
.mod-entry,
|
|
|
|
.mod-entry__downloads {
|
|
|
|
display: grid;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-entry {
|
|
|
|
gap: 1em;
|
|
|
|
background: var(--clr-mod-entry-bg);
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2024-08-04 16:51:28 +00:00
|
|
|
.mod-entry__downloads { gap: 0.5em; }
|
2024-07-25 06:10:24 +00:00
|
|
|
|
|
|
|
/* Tablet screen size */
|
|
|
|
@media only screen and (min-width: 37.5rem) {
|
|
|
|
.mod-entry__downloads {
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Skip to content button */
|
|
|
|
.skip-btn a {
|
|
|
|
position: absolute;
|
|
|
|
display: inline-block;
|
|
|
|
left: 0;
|
|
|
|
top: -1000px;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: top 0.5s ease;
|
|
|
|
background: var(--clr-content-bg);
|
|
|
|
font-size: 1.25rem;
|
|
|
|
z-index: 1000;
|
|
|
|
padding: 0.3em 0.7em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.skip-btn a:focus {
|
|
|
|
top: 0;
|
|
|
|
transition: top 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Link button */
|
|
|
|
.link-btn--wrapper {
|
|
|
|
list-style-type: "";
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-btn {
|
|
|
|
--btn-right-padding: 0.8em;
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
border: 0.1em solid var(--clr-link-btn-bg);
|
|
|
|
border-radius: 0.5em;
|
|
|
|
padding: 0.4em var(--btn-right-padding);
|
|
|
|
background: var(--clr-link-btn-bg);
|
|
|
|
color: var(--clr-link-btn-txt);
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-btn,
|
|
|
|
.link-btn:hover,
|
|
|
|
.link-btn:visited { text-decoration: none; }
|
|
|
|
|
|
|
|
.link-btn:hover {
|
|
|
|
background: var(--clr-link-btn-hover);
|
|
|
|
transition: 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-btn:focus {
|
|
|
|
outline: 0.15em solid var(--clr-link-btn-txt);
|
|
|
|
outline-offset: -0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.link-btn[href^="http"]:not([href*="leilukin.com"]) { padding-right: calc(var(--btn-right-padding) + var(--sz-external-link)); }
|
|
|
|
|
2024-08-06 03:49:06 +00:00
|
|
|
/* Content Disclosure */
|
|
|
|
* + .content-disclosure { margin-top: var(--sz-paragraph-margin); }
|
|
|
|
.content-disclosure__summary { font-weight: 700; }
|
|
|
|
.content-disclosure__content,
|
|
|
|
.content-disclosure__content p + p { margin-top: 1em; }
|
|
|
|
|
|
|
|
.content-disclosure__content {
|
|
|
|
--bdr-disclosure: 0.15em solid var(--clr-title-border);
|
2024-08-04 12:25:24 +00:00
|
|
|
padding: 1em 0;
|
2024-08-06 03:49:06 +00:00
|
|
|
border-top: var(--bdr-disclosure);
|
|
|
|
border-bottom: var(--bdr-disclosure);
|
2024-08-04 12:25:24 +00:00
|
|
|
}
|
|
|
|
|
2024-08-06 03:49:06 +00:00
|
|
|
/* Content warning disclosure */
|
2024-07-25 06:10:24 +00:00
|
|
|
* + .contnet-warning { margin-top: var(--sz-paragraph-margin); }
|
|
|
|
|
|
|
|
.contnet-warning {
|
|
|
|
border: 0.1em solid var(--clr-title-border);
|
|
|
|
border-radius: 0.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contnet-warning__warning {
|
|
|
|
padding: 0.8em;
|
|
|
|
--stripe-color: var(--clr-quote-bg);
|
|
|
|
background-image: repeating-linear-gradient(
|
|
|
|
45deg,
|
|
|
|
transparent,
|
|
|
|
transparent 0.5em,
|
|
|
|
var(--stripe-color) 0.5em,
|
|
|
|
var(--stripe-color) 1em
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.contnet-warning__warning:hover,
|
|
|
|
.contnet-warning__warning:focus { --stripe-color: var(--clr-cw-hover); }
|
|
|
|
.contnet-warning__content { padding: 1em; }
|
|
|
|
|
2024-08-04 16:45:21 +00:00
|
|
|
/* Web graphic lists */
|
|
|
|
.web-graphics {
|
2024-07-25 06:10:24 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.5em;
|
|
|
|
list-style-type: "";
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2024-08-04 17:37:56 +00:00
|
|
|
overflow-x: clip;
|
2024-08-14 16:02:09 +00:00
|
|
|
overflow-clip-margin: 0.5em;
|
2024-08-04 17:37:56 +00:00
|
|
|
}
|
|
|
|
@media only screen and (min-width: 60rem) {
|
2024-08-07 14:52:34 +00:00
|
|
|
.web-graphics {
|
|
|
|
overflow-x: unset;
|
|
|
|
overflow-clip-margin: unset;
|
|
|
|
}
|
2024-07-25 06:10:24 +00:00
|
|
|
}
|
|
|
|
|
2024-08-04 16:45:21 +00:00
|
|
|
.adoptables { align-items: flex-end; }
|
|
|
|
p + .adoptables { margin-top: 1em; }
|
2024-08-12 04:54:11 +00:00
|
|
|
.web-badges { justify-content: center; }
|
2024-08-04 16:45:21 +00:00
|
|
|
|
2024-07-25 06:10:24 +00:00
|
|
|
/* Tabs */
|
|
|
|
.tabwrap section { display: none; }
|
|
|
|
.tabwrap section:target,
|
|
|
|
.tabwrap section:has(*:target) { display: block; }
|
|
|
|
|
|
|
|
.tabs {
|
|
|
|
list-style-type: "";
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab__btn {
|
|
|
|
display: inline-block;
|
|
|
|
color: var(--clr-code-bg);
|
|
|
|
background-color: var(--clr-title-border);
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 0.4em 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab__btn:hover { background-color: #d5c2d6; }
|
|
|
|
.tab__btn:focus {
|
|
|
|
outline: 0.2em solid var(--clr-title-border);
|
|
|
|
outline-offset: 0.15em;
|
|
|
|
}
|
2024-08-04 17:56:56 +00:00
|
|
|
.tab__back { margin-top: 3em; }
|
2024-07-25 06:10:24 +00:00
|
|
|
|
|
|
|
/* Web ring */
|
|
|
|
.webring {
|
|
|
|
border: 0.08em outset;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webring__name {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.2em 0.5em;
|
|
|
|
border: 0.08em solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webring__links {
|
|
|
|
list-style-type: "";
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 !important;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webring__link {
|
|
|
|
flex: 1;
|
|
|
|
border: 0.08em solid;
|
|
|
|
padding: 0.2em 0.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove external link icon from Website Carbon badge */
|
|
|
|
#wcb_a::after { all: revert; }
|