mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
404: move styles to separate file #889
This commit is contained in:
parent
3a0ae52e61
commit
86aad0a516
2 changed files with 42 additions and 43 deletions
|
@ -9,49 +9,6 @@
|
|||
<base href="{{ .Site.BaseURL }}">
|
||||
{{- partialCached "favicon.html" . }}
|
||||
{{- partial "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) }}
|
||||
<style>
|
||||
p {
|
||||
text-align: center
|
||||
}
|
||||
.notfound #R-body {
|
||||
margin-inline-start: 0;
|
||||
max-width: 100%;
|
||||
min-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.notfound h1 {
|
||||
color: var(--MAIN-TEXT-color);
|
||||
line-height: 1;
|
||||
font-size: 5rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.notfound h1 span {
|
||||
font-size: 6.5rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
.notfound h1 i {
|
||||
font-size: 5rem;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
.notfound h2 {
|
||||
color: var(--MAIN-TEXT-color);
|
||||
font-size: 2.5rem;
|
||||
font-weight: 500;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
#shrug svg,
|
||||
#shrug svg * {
|
||||
color: #000000;
|
||||
color: var(--MAIN-TEXT-color);
|
||||
fill: #000000 !important;
|
||||
fill: var(--MAIN-TEXT-color) !important;
|
||||
}
|
||||
#shrug svg{
|
||||
transform: scaleX(-1);
|
||||
width: 15rem;
|
||||
}
|
||||
</style>
|
||||
{{- partial "custom-header.html" . }}
|
||||
</head>
|
||||
<body class="mobile-support html notfound" data-url="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .) }}">
|
||||
|
|
|
@ -2376,3 +2376,45 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right
|
|||
.term-list ul > li ~ li:before {
|
||||
content: " | "
|
||||
}
|
||||
|
||||
body.notfound p {
|
||||
text-align: center
|
||||
}
|
||||
body.notfound #R-body {
|
||||
margin-inline-start: 0;
|
||||
max-width: 100%;
|
||||
min-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
body.notfound h1 {
|
||||
color: var(--MAIN-TEXT-color);
|
||||
line-height: 1;
|
||||
font-size: 5rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
body.notfound h1 span {
|
||||
font-size: 6.5rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
body.notfound h1 i {
|
||||
font-size: 5rem;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
body.notfound h2 {
|
||||
color: var(--MAIN-TEXT-color);
|
||||
font-size: 2.5rem;
|
||||
font-weight: 500;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
body.notfound #shrug svg,
|
||||
body.notfound #shrug svg * {
|
||||
color: #000000;
|
||||
color: var(--MAIN-TEXT-color);
|
||||
fill: #000000 !important;
|
||||
fill: var(--MAIN-TEXT-color) !important;
|
||||
}
|
||||
body.notfound #shrug svg {
|
||||
transform: scaleX(-1);
|
||||
width: 15rem;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue