mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/layout: add global long-text-noto
style class
This commit is contained in:
parent
894c1ada24
commit
87b76ec1e2
2 changed files with 11 additions and 11 deletions
|
@ -75,7 +75,7 @@
|
||||||
{#if skeleton}
|
{#if skeleton}
|
||||||
<Skeleton class="big changelog-banner" width="100%" />
|
<Skeleton class="big changelog-banner" width="100%" />
|
||||||
{/if}
|
{/if}
|
||||||
<div class="changelog-body">
|
<div class="changelog-body long-text-noto">
|
||||||
{#if skeleton}
|
{#if skeleton}
|
||||||
{#each { length: 3 + Math.random() * 5 } as _}
|
{#each { length: 3 + Math.random() * 5 } as _}
|
||||||
<p>
|
<p>
|
||||||
|
@ -163,16 +163,6 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.changelog-body,
|
|
||||||
.changelog-body :global(*) {
|
|
||||||
line-height: 1.7;
|
|
||||||
font-size: 14.5px;
|
|
||||||
font-weight: 410;
|
|
||||||
font-family: "Noto Sans Mono Variable", "Noto Sans Mono", monospace;
|
|
||||||
user-select: text;
|
|
||||||
-webkit-user-select: text;
|
|
||||||
}
|
|
||||||
|
|
||||||
.changelog-body :global(ul) {
|
.changelog-body :global(ul) {
|
||||||
padding-inline-start: 30px;
|
padding-inline-start: 30px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -433,6 +433,16 @@
|
||||||
-webkit-user-select: text;
|
-webkit-user-select: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:global(.long-text-noto),
|
||||||
|
:global(.long-text-noto *) {
|
||||||
|
line-height: 1.7;
|
||||||
|
font-size: 14.5px;
|
||||||
|
font-weight: 410;
|
||||||
|
font-family: "Noto Sans Mono Variable", "Noto Sans Mono", monospace;
|
||||||
|
user-select: text;
|
||||||
|
-webkit-user-select: text;
|
||||||
|
}
|
||||||
|
|
||||||
[data-reduce-motion="true"] :global(*) {
|
[data-reduce-motion="true"] :global(*) {
|
||||||
animation: none !important;
|
animation: none !important;
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
|
|
Loading…
Reference in a new issue