385 lines
No EOL
9.7 KiB
Cheetah
385 lines
No EOL
9.7 KiB
Cheetah
<!DOCTYPE html>
|
|
<html lang="{{ctx.Locale.Lang}}" data-theme="{{ThemeName .SignedUser}}">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{{/* Display `- .Repsository.FullName` only if `.Title` does not already start with that. */}}
|
|
<title>{{if .Title}}{{.Title}} - {{end}}{{if and (.Repository.Name) (not (StringUtils.HasPrefix .Title .Repository.FullName))}}{{.Repository.FullName}} - {{end}}{{AppName}}</title>
|
|
{{if .ManifestData}}<link rel="manifest" href="data:{{.ManifestData}}">{{end}}
|
|
<meta name="author" content="{{if .Repository}}{{.Owner.Name}}{{else}}{{MetaAuthor}}{{end}}">
|
|
<meta name="description" content="{{if .Repository}}{{.Repository.Name}}{{if .Repository.Description}} - {{.Repository.Description}}{{end}}{{else}}{{MetaDescription}}{{end}}">
|
|
<meta name="keywords" content="{{MetaKeywords}}">
|
|
<meta name="referrer" content="no-referrer">
|
|
<link rel="stylesheet" href="http://192.168.1.191:5500/css/index.css"/>
|
|
{{if .GoGetImport}}
|
|
<meta name="go-import" content="{{.GoGetImport}} git {{.RepoCloneLink.HTTPS}}">
|
|
<meta name="go-source" content="{{.GoGetImport}} _ {{.GoDocDirectory}} {{.GoDocFile}}">
|
|
{{end}}
|
|
{{if and .EnableFeed .FeedURL}}
|
|
<link rel="alternate" type="application/atom+xml" title="" href="{{.FeedURL}}.atom">
|
|
<link rel="alternate" type="application/rss+xml" title="" href="{{.FeedURL}}.rss">
|
|
{{end}}
|
|
<link rel="icon" href="{{AssetUrlPrefix}}/img/favicon.svg" type="image/svg+xml">
|
|
<link rel="alternate icon" href="{{AssetUrlPrefix}}/img/favicon.png" type="image/png">
|
|
{{template "base/head_script" .}}
|
|
<noscript>
|
|
<style>
|
|
.dropdown:hover > .menu { display: block; }
|
|
.ui.secondary.menu .dropdown.item > .menu { margin-top: 0; }
|
|
</style>
|
|
</noscript>
|
|
{{template "base/head_opengraph" .}}
|
|
{{template "base/head_style" .}}
|
|
{{template "custom/header" .}}
|
|
</head>
|
|
<body hx-headers='{"x-csrf-token": "{{.CsrfToken}}"}' hx-swap="outerHTML" hx-ext="morph" hx-push-url="false">
|
|
{{template "custom/body_outer_pre" .}}
|
|
|
|
<div class="full height">
|
|
{{template "custom/body_inner_pre" .}}
|
|
|
|
{{if not .PageIsInstall}}
|
|
{{template "base/head_navbar" .}}
|
|
{{end}}
|
|
|
|
{{if false}}
|
|
{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
|
</div>
|
|
</body>
|
|
</html>
|
|
{{end}}
|
|
|
|
<style>
|
|
:root {
|
|
--steel-900: #000 !important;
|
|
--steel-850: #000 !important;
|
|
--steel-800: #000 !important;
|
|
--steel-750: #000 !important;
|
|
--steel-700: #222 !important;
|
|
--steel-650: #000 !important;
|
|
--steel-600: #1a1a1a !important;
|
|
}
|
|
/* Fixes for Forgejo */
|
|
header .header-content .header-row-top {
|
|
padding: 24px 0px !important;
|
|
}
|
|
.page-content .ui.ui.ui.container:not(.fluid) {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
}
|
|
#readme, #repo-files-table {
|
|
border: 1px #222 solid !important;
|
|
border-radius: 6px;
|
|
}
|
|
.file-header.ui.top.attached.header.tw-flex.tw-items-center.tw-justify-between.tw-flex-wrap, .ui.bottom.attached.table.unstackable.segment {
|
|
background: transparent !important;
|
|
}
|
|
.ui.twelve.wide.column.tw-mb-4 {
|
|
width: calc(100% - 370px) !important;
|
|
}
|
|
.ui.top.attached.error.header {
|
|
width: calc(100% - -2px);
|
|
}
|
|
.file-header.ui.top.attached.header.tw-flex.tw-items-center.tw-justify-between.tw-flex-wrap {
|
|
width: calc(100% - 24px);
|
|
}
|
|
.ui.menu .ui.dropdown .menu > .item {
|
|
padding: 0px !important;
|
|
}
|
|
*, ::before, ::after {
|
|
box-sizing: revert-layer !important;
|
|
}
|
|
h1, h2, h3, h4, h5 {
|
|
font-weight: revert-layer !important;
|
|
}
|
|
p:first-child {
|
|
margin-top: revert-layer !important;
|
|
}
|
|
#dashboard-repo-list {
|
|
width: 100% !important;
|
|
max-width: 350px !important;
|
|
}
|
|
.tw-justify-center {
|
|
justify-content: flex-start !important;
|
|
}
|
|
.ui.top.attached.segment.repos-search.gt-rounded-top {
|
|
width: calc(100% - 26px);
|
|
}
|
|
|
|
.inline.required.field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
max-width: 490px;
|
|
margin: auto;
|
|
}
|
|
|
|
.repo-button-row input {
|
|
height: auto !important;
|
|
}
|
|
.ui.compact.basic.button {
|
|
padding: 0px 12px !important;
|
|
}
|
|
|
|
mobilebar {
|
|
display: none;
|
|
}
|
|
@media screen and (max-width: 800px) {
|
|
body {
|
|
padding: 0px 24px !important;
|
|
}
|
|
}
|
|
@media screen and (max-width: 800px) {
|
|
header, .sidebar {
|
|
display: none !important;
|
|
}
|
|
.page-content {
|
|
margin-top: 24px !important;
|
|
}
|
|
mobilebar {
|
|
display: flex !important;
|
|
}
|
|
.mobile-docs-dropdown {
|
|
display: block !important;
|
|
}
|
|
.document-layout {
|
|
flex-direction: column;
|
|
}
|
|
.ui.form input {
|
|
width: calc(100% - 64px) !important;
|
|
}
|
|
}
|
|
|
|
mobilebar {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
z-index: 50;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
backdrop-filter: blur(24px) brightness(0.6);
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
border-radius: 5rem;
|
|
border: 1px #2b2b2b solid;
|
|
align-items: center;
|
|
padding: 0px 14px;
|
|
justify-content: space-between;
|
|
width: calc(100% - 120px);
|
|
}
|
|
mobilebar button {
|
|
border-radius: 3rem;
|
|
border: none;
|
|
padding: 8px 10px;
|
|
background: transparent;
|
|
}
|
|
mobilebar .mobile-popup-menu {
|
|
position: absolute;
|
|
right: 0px;
|
|
display: none;
|
|
flex-direction: column;
|
|
bottom: 64px;
|
|
border-radius: 6px;
|
|
font-size: 24px;
|
|
width: 100%;
|
|
background-color: rgba(0, 0, 0, 0.75);
|
|
backdrop-filter: blur(24px) brightness(0.3) !important;
|
|
-webkit-backdrop-filter: blur(24px) brightness(1) !important;
|
|
border: 1px #2b2b2b solid;
|
|
}
|
|
mobilebar .mobile-popup-menu a {
|
|
padding: 12px 24px !important;
|
|
}
|
|
|
|
mobilebar img {
|
|
width: 32px !important;
|
|
}
|
|
|
|
mobilebar p {
|
|
margin: 0px !important;
|
|
}
|
|
|
|
|
|
/***/
|
|
|
|
a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline !important;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: OpenSans;
|
|
src: url(https://md.sudovanilla.org/fonts/Open_Sans/static/OpenSans-Regular.ttf);
|
|
font-weight: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: OpenSans;
|
|
src: url(https://md.sudovanilla.org/fonts/Open_Sans/static/OpenSans-Bold.ttf);
|
|
font-weight: bold;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: RedHatDisplay;
|
|
src: url(https://md.sudovanilla.org/fonts/Red_Hat_Display/static/RedHatDisplay-Regular.ttf);
|
|
font-weight: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: RedHatDisplay;
|
|
src: url(https://md.sudovanilla.org/fonts/Red_Hat_Display/static/RedHatDisplay-Bold.ttf);
|
|
font-weight: bold;
|
|
}
|
|
|
|
body {
|
|
margin: auto !important;
|
|
max-width: 1200px !important;
|
|
font-family: OpenSans !important;
|
|
color: white !important;
|
|
background: black !important;
|
|
cursor: default !important;
|
|
display: inherit !important;
|
|
flex-direction: inherit !important;
|
|
overflow-x: inherit !important;
|
|
overflow-wrap: inherit !important;
|
|
}
|
|
|
|
.page-content {
|
|
margin-top: 140px;
|
|
max-width: 1200px !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.active {
|
|
color: white !important;
|
|
}
|
|
|
|
header {
|
|
position: absolute !important;
|
|
top: 0px !important;
|
|
max-width: 1200px !important;
|
|
margin: auto !important;
|
|
width: 100% !important;
|
|
z-index: 50 !important;
|
|
}
|
|
|
|
header .header-content {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
}
|
|
|
|
header .header-content .header-link-item {
|
|
color: rgba(255, 255, 255, 0.5) !important;
|
|
display: flex !important;
|
|
gap: 6px !important;
|
|
align-items: center !important;
|
|
text-decoration: none !important;
|
|
font-size: 16px !important;
|
|
text-wrap: nowrap !important;
|
|
}
|
|
|
|
header .header-content .header-link-item:hover {
|
|
color: rgba(255, 255, 255, 0.75) !important;
|
|
}
|
|
|
|
header .header-content .header-link-item svg {
|
|
width: 0px !important;
|
|
}
|
|
|
|
header .header-content .header-login-button {
|
|
align-items: center !important;
|
|
display: flex !important;
|
|
padding: 2px 16px 2px 2px !important;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
header .header-content .header-login-button img {
|
|
margin-right: 12px !important;
|
|
}
|
|
|
|
header .header-content .header-login-button img {
|
|
width: 32px !important;
|
|
height: 32px !important;
|
|
border-radius: 10rem !important;
|
|
}
|
|
|
|
header .header-content .header-row-top {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
padding: 12px 0px;
|
|
}
|
|
|
|
header .header-content .header-row-top div:nth-child(1) {
|
|
display: flex !important;
|
|
gap: 12px !important;
|
|
}
|
|
|
|
header .header-content .header-row-top div:nth-child(2) {
|
|
display: flex !important;
|
|
gap: 24px !important;
|
|
overflow: scroll !important;
|
|
margin-left: 24px !important;
|
|
}
|
|
|
|
header .header-content .header-row-bottom {
|
|
background: transparent !important;
|
|
border-radius: 10px !important;
|
|
border: 1px #2b2b2b solid !important;
|
|
overflow: scroll !important;
|
|
width: 100% !important;
|
|
top: 24px !important;
|
|
max-width: 1200px !important;
|
|
backdrop-filter: blur(24px) brightness(0.6) !important;
|
|
display: flex !important;
|
|
justify-content: space-between !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
header .header-content .header-row-bottom #show-w-scroll {
|
|
transition: width 0.3s, opacity 0.3s !important;
|
|
width: 0px !important;
|
|
opacity: 0 !important;
|
|
display: block !important;
|
|
}
|
|
|
|
header .header-content .header-row-bottom .header-sub-service {
|
|
color: white !important;
|
|
font-weight: bold !important;
|
|
padding: 0px 32px !important;
|
|
border-right: 1px #3f3c3c solid !important;
|
|
display: flex !important;
|
|
}
|
|
|
|
header .header-content .header-row-bottom div {
|
|
display: flex !important;
|
|
gap: 24px !important;
|
|
align-items: center !important;
|
|
margin-right: 24px !important;
|
|
}
|
|
|
|
header .header-content .header-row-bottom div .header-button {
|
|
color: white !important;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
header .header-content .header-row-bottom div a {
|
|
color: rgba(255, 255, 255, 0.5) !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
text-decoration: none !important;
|
|
gap: 6px !important;
|
|
font-size: 16px !important;
|
|
text-wrap: nowrap !important;
|
|
}
|
|
|
|
header .header-content .header-row-bottom div a:hover {
|
|
color: rgba(255, 255, 255, 0.75) !important;
|
|
}
|
|
|
|
header .header-content .header-row-bottom div a svg {
|
|
width: 18px !important;
|
|
}
|
|
</style> |