mirror of https://github.com/tycrek/ass
parent
5c3374991c
commit
bab0e42a04
@ -1,3 +1,27 @@
|
|||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
.res-media {
|
||||||
|
@apply border-l-4 rounded max-h-half-port;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link {
|
||||||
|
@apply no-underline hover_no-underline active_no-underline visited_no-underline
|
||||||
|
|
||||||
|
/* regular, visited */
|
||||||
|
text-primary visited_text-primary
|
||||||
|
border-b-2 visited_border-b-2
|
||||||
|
border-transparent visited_border-transparent
|
||||||
|
rounded-sm visited_rounded-sm
|
||||||
|
|
||||||
|
/* hover */
|
||||||
|
hover_text-link-hover
|
||||||
|
hover_border-primary-dim
|
||||||
|
|
||||||
|
/* active */
|
||||||
|
active_text-link-active
|
||||||
|
|
||||||
|
/* transitions */
|
||||||
|
ease-linear duration-150 transition-all;
|
||||||
|
}
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
:root {
|
|
||||||
--color-primary: #fd842d;
|
|
||||||
--color-primary-dim: #B64D02;
|
|
||||||
--color-primary-dark: #793301;
|
|
||||||
|
|
||||||
--color-link-hover: #FD710D;
|
|
||||||
--color-link-active: #DE5E02;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Modest fixes */
|
|
||||||
pre, code { background-color: #1A1A1A !important; }
|
|
||||||
h1, h2, h3 { border-bottom: 2px solid #323232 !important; }
|
|
||||||
pre { overflow-x: hidden !important; }
|
|
||||||
|
|
||||||
/* Dark theme */
|
|
||||||
body {
|
|
||||||
background-color: #212121 !important;
|
|
||||||
color: #BDBDBD !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
body, button { text-shadow: 1px 1px 1px black; }
|
|
||||||
code { color: #EEE !important; }
|
|
||||||
pre { border-radius: 16px; }
|
|
||||||
|
|
||||||
/* Remove styles and colors from links */
|
|
||||||
a, a:hover, a:active, a:visited { text-decoration: none; }
|
|
||||||
a, a:visited {
|
|
||||||
color: var(--color-primary) !important;
|
|
||||||
border-bottom: 2px solid;
|
|
||||||
border-bottom-color: transparent;
|
|
||||||
border-radius: 2px;
|
|
||||||
transition: color 150ms linear, border-bottom-color 150ms linear;
|
|
||||||
}
|
|
||||||
a:hover { color: var(--color-link-hover) !important; border-bottom-color: var(--color-primary-dim); }
|
|
||||||
a:active { color: var(--color-link-active) !important; }
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap');
|
|
||||||
|
|
||||||
body, h1, h2, h3, h4, h5, h6, button {
|
|
||||||
font-family: 'Josefin Sans', sans-serif;
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
img, video, audio {
|
|
||||||
border-left-width: 4px;
|
|
||||||
border-left-style: solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
@ -1,221 +0,0 @@
|
|||||||
/* https://markdowncss.github.io/modest/ */
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
*,
|
|
||||||
*:before,
|
|
||||||
*:after {
|
|
||||||
background: transparent !important;
|
|
||||||
color: #000 !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
text-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
a,
|
|
||||||
a:visited {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
a[href]:after {
|
|
||||||
content: " (" attr(href) ")";
|
|
||||||
}
|
|
||||||
|
|
||||||
abbr[title]:after {
|
|
||||||
content: " (" attr(title) ")";
|
|
||||||
}
|
|
||||||
|
|
||||||
a[href^="#"]:after,
|
|
||||||
a[href^="javascript:"]:after {
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
|
|
||||||
pre,
|
|
||||||
blockquote {
|
|
||||||
border: 1px solid #999;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
thead {
|
|
||||||
display: table-header-group;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr,
|
|
||||||
img {
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
p,
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
orphans: 3;
|
|
||||||
widows: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
page-break-after: avoid;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pre,
|
|
||||||
code {
|
|
||||||
font-family: Menlo, Monaco, "Courier New", monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
padding: .5rem;
|
|
||||||
line-height: 1.25;
|
|
||||||
overflow-x: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
a,
|
|
||||||
a:visited {
|
|
||||||
color: #3498db;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover,
|
|
||||||
a:focus,
|
|
||||||
a:active {
|
|
||||||
color: #2980b9;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modest-no-decoration {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 32rem) and (max-width: 48rem) {
|
|
||||||
html {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 48rem) {
|
|
||||||
html {
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
line-height: 1.85;
|
|
||||||
}
|
|
||||||
|
|
||||||
p,
|
|
||||||
.modest-p {
|
|
||||||
font-size: 1rem;
|
|
||||||
margin-bottom: 1.3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
.modest-h1,
|
|
||||||
h2,
|
|
||||||
.modest-h2,
|
|
||||||
h3,
|
|
||||||
.modest-h3,
|
|
||||||
h4,
|
|
||||||
.modest-h4 {
|
|
||||||
margin: 1.414rem 0 .5rem;
|
|
||||||
font-weight: inherit;
|
|
||||||
line-height: 1.42;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
.modest-h1 {
|
|
||||||
margin-top: 0;
|
|
||||||
font-size: 3.998rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2,
|
|
||||||
.modest-h2 {
|
|
||||||
font-size: 2.827rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3,
|
|
||||||
.modest-h3 {
|
|
||||||
font-size: 1.999rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4,
|
|
||||||
.modest-h4 {
|
|
||||||
font-size: 1.414rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h5,
|
|
||||||
.modest-h5 {
|
|
||||||
font-size: 1.121rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h6,
|
|
||||||
.modest-h6 {
|
|
||||||
font-size: .88rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
small,
|
|
||||||
.modest-small {
|
|
||||||
font-size: .707em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* https://github.com/mrmrs/fluidity */
|
|
||||||
|
|
||||||
img,
|
|
||||||
canvas,
|
|
||||||
iframe,
|
|
||||||
video,
|
|
||||||
svg,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700);
|
|
||||||
|
|
||||||
@import url(http://fonts.googleapis.com/css?family=Arimo:700,700italic);
|
|
||||||
|
|
||||||
html {
|
|
||||||
font-size: 18px;
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
color: #444;
|
|
||||||
font-family: 'Open Sans Condensed', sans-serif;
|
|
||||||
font-weight: 300;
|
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 48rem;
|
|
||||||
line-height: 1.45;
|
|
||||||
padding: .25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
font-family: Arimo, Helvetica, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
border-bottom: 2px solid #fafafa;
|
|
||||||
margin-bottom: 1.15rem;
|
|
||||||
padding-bottom: .5rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
border-left: 8px solid #fafafa;
|
|
||||||
padding: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre,
|
|
||||||
code {
|
|
||||||
background-color: #fafafa;
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
#container {
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content {
|
|
||||||
background-color: #151515;
|
|
||||||
border-radius: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#footer {
|
|
||||||
font-size-adjust: 0.3;
|
|
||||||
margin-left: 16px;
|
|
||||||
margin-right: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img, video, audio {
|
|
||||||
max-height: 50vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
figcaption strong {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
Loading…
Reference in new issue