-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
274 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,265 @@ | ||
/*====================================================================== | ||
Fallback fonts */ | ||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Sans Mono"; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: local("Noto Sans Mono Bold"), | ||
local("NotoSansMono-Bold"), | ||
url(/assets/fonts/noto-sans-mono-v14-ext-700.woff2) format("woff2"); } | ||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Sans Mono"; | ||
font-style: normal; | ||
src: local("Noto Sans Mono"), | ||
local("NotoSansMono-Regular"), | ||
url(/assets/fonts/noto-sans-mono-v14-ext-regular.woff2) format("woff2"); } | ||
|
||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Sans"; | ||
font-weight: 700; | ||
font-style: italic; | ||
src: local("Noto Sans Bold Italic"), | ||
local("NotoSans-BoldItalic"), | ||
url(/assets/fonts/noto-sans-v25-ext-700italic.woff2) format("woff2"); } | ||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Sans"; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: local("Noto Sans Bold"), | ||
local("NotoSans-Bold"), | ||
url(/assets/fonts/noto-sans-v25-ext-700.woff2) format("woff2"); } | ||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Sans"; | ||
font-style: italic; | ||
src: local("Noto Sans Italic"), | ||
local("NotoSans-Italic"), | ||
url(/assets/fonts/noto-sans-v25-ext-italic.woff2) format("woff2"); } | ||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Sans"; | ||
font-style: normal; | ||
src: local("Noto Sans"), | ||
local("NotoSans-Regular"), | ||
url(/assets/fonts/noto-sans-v25-ext.woff2) format("woff2"); } | ||
|
||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Serif"; | ||
font-weight: 700; | ||
font-style: italic; | ||
src: local("Noto Serif Bold Italic"), | ||
local("NotoSerif-BoldItalic"), | ||
url(/assets/fonts/noto-serif-v20-ext-700italic.woff2) format("woff2"); } | ||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Serif"; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: local("Noto Serif Bold"), | ||
local("NotoSerif-Bold"), | ||
url(/assets/fonts/noto-serif-v20-ext-700.woff2) format("woff2"); } | ||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Serif"; | ||
font-style: italic; | ||
src: local("Noto Serif Italic"), | ||
local("NotoSerif-Italic"), | ||
url(/assets/fonts/noto-serif-v20-ext-italic.woff2) format("woff2"); } | ||
@font-face{ | ||
font-display: fallback; | ||
font-family: "Noto Serif"; | ||
font-style: normal; | ||
src: local("Noto Serif"), | ||
local("NotoSerif-Regular"), | ||
url(/assets/fonts/noto-serif-v20-ext-regular.woff2) format("woff2"); } | ||
@font-face { | ||
font-display: fallback; | ||
font-family: "STIX Two Math"; | ||
font-style: normal; | ||
src: local("STIX Two Math"), | ||
local("STIXTwoMath-Regular"), | ||
url(/assets/fonts/STIXTwoMath-Regular.woff2) format("woff2"); } | ||
/*====================================================================== | ||
ar5iv branding */ | ||
div.ar5iv-footer { | ||
vertical-align: middle; | ||
margin-left: auto; | ||
margin-right:auto; | ||
margin-top: 5rem; | ||
margin-bottom: 5rem; | ||
text-align: center; | ||
max-width: var(--main-width); | ||
} | ||
|
||
.ar5iv-homepage { | ||
position: relative; | ||
} | ||
.ar5iv-homepage-content { | ||
padding-bottom: 1.5rem; | ||
} | ||
.ar5iv-homepage-main-list { | ||
list-style-type: circle; | ||
} | ||
@media only screen and (max-width: 40.0rem) { | ||
.ar5iv-homepage-main-list { | ||
padding-left: 1.5rem; | ||
} | ||
} | ||
footer.ar5iv-homepage-footer { | ||
border:none; | ||
text-align: center; | ||
position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
height: 2.5rem; | ||
} | ||
footer.ar5iv-homepage-footer svg { | ||
background-color: var(--background-color); | ||
color: var(--text-color); | ||
filter:initial; | ||
} | ||
|
||
.ar5iv-text-button { | ||
max-width: 10rem; | ||
display: inline-block; | ||
color:var(--text-color); | ||
border-radius: 1.1rem; | ||
font-size: 0.9rem; | ||
padding-top: 0.05rem; | ||
padding-bottom: 0.05rem; | ||
padding-left: 1rem; | ||
padding-right: 1rem; | ||
margin-top: 1rem; | ||
vertical-align: top; | ||
border: none; | ||
text-decoration: none; | ||
overflow-wrap: break-word; | ||
} | ||
.ar5iv-home-button { | ||
text-decoration: none; | ||
display: inline-block; | ||
margin-top: 0.9rem; | ||
vertical-align: bottom; | ||
} | ||
.ar5iv-home-button > img { | ||
border-radius: 1.1rem; | ||
} | ||
.color-scheme-icon::before { | ||
content: "🌙"; | ||
} | ||
[data-theme="dark"] .color-scheme-icon::before { | ||
content: "☀️"; | ||
} | ||
.ar5iv-toggle-color-scheme { | ||
text-decoration: none; | ||
display: block; | ||
float: left; | ||
padding: 0.5rem; | ||
margin-top: 0.1rem; | ||
color: transparent; | ||
text-shadow: 0 0 0 var(--text-color); | ||
} | ||
a.ar5iv-nav-button { | ||
font-size: 2rem; | ||
color: var(--link-text-color); | ||
text-decoration: none; | ||
display: inline-block; | ||
margin-top: 0.75rem; | ||
vertical-align: top; | ||
} | ||
.ar5iv-nav-button-prev { | ||
padding-right: 0.5rem; | ||
} | ||
.ar5iv-nav-button-next { | ||
padding-left: 0.5rem; | ||
} | ||
|
||
.ar5iv-footer-button { | ||
color: var(--link-text-color); | ||
padding: 0.5rem; | ||
display: inline-block; | ||
text-decoration: none; | ||
margin-right: 1rem; | ||
} | ||
|
||
a.arxiv-ui-theme { | ||
color: white; | ||
background-color: rgb(179, 27, 27) | ||
} | ||
|
||
.ar5iv-severity-ok::after { | ||
content: " (OK)"; | ||
color: var(--text-color); | ||
} | ||
.ar5iv-severity-warning::after { | ||
content: " (W)"; | ||
color: var(--warning-text-color); | ||
} | ||
.ar5iv-severity-error::after { | ||
content: " (E)"; | ||
color: var(--error-text-color); | ||
} | ||
.ar5iv-severity-fatal::after { | ||
content: " (F)"; | ||
color: var(--fatal-text-color); | ||
} | ||
|
||
.ar5iv-bibitem-preview { | ||
z-index: 100; | ||
position: absolute; | ||
background-color: var(--background-color); | ||
color: var(--text-color); | ||
border: solid 1px var(--border-color); | ||
display: block; | ||
min-width: 20rem; | ||
max-width: 40rem; | ||
min-height: 4rem; | ||
max-height: 16rem; | ||
padding: 0.5rem; | ||
} | ||
.ar5iv-button-close-preview { | ||
float: right; | ||
display: block; | ||
margin: 0.2rem 0rem 0rem 0.2rem; | ||
background-color: var(--background-color); | ||
color: var(--text-color); | ||
border: double 2px var(--border-color); | ||
} | ||
|
||
/* Hide the polyfill dirty work behind a curtain */ | ||
#mathjax-loading-message { | ||
display: block; | ||
font-size:1.5rem; | ||
margin:auto; | ||
max-width: 52rem; | ||
text-align: center; | ||
padding: 6rem; | ||
z-index: 100; | ||
} | ||
#mathjax-loading-spinner { | ||
display: block; | ||
margin:auto; | ||
background-color: white; | ||
z-index: 100; | ||
border: 16px solid #f3f3f3; /* Light grey */ | ||
border-top: 16px solid #3498db; /* Blue */ | ||
border-radius: 50%; | ||
width: 6rem; | ||
height: 6rem; | ||
animation: spin 2s linear infinite; | ||
} | ||
@keyframes spin { | ||
0% { transform: rotate(0deg); } | ||
100% { transform: rotate(360deg); } | ||
} | ||
|
||
/* one important override specific to the ar5iv site, | ||
to keep the color mode toggle nicely inline */ | ||
.ltx_page_logo { | ||
display: inline-block !important; | ||
} |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters