mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-21 21:27:15 +00:00
reverted ambiguos text styles
This commit is contained in:
parent
f0754e3b20
commit
4991a2e5ed
|
@ -105,7 +105,7 @@ code {
|
|||
top: 2px;
|
||||
}
|
||||
.title a {
|
||||
color: #006414;
|
||||
color: #0000ff;
|
||||
font-size: medium;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ code {
|
|||
font-weight: bold;
|
||||
}
|
||||
.dark .title a {
|
||||
color: #a0d798;
|
||||
color: #dedede;
|
||||
}
|
||||
.post.deleted .title a {
|
||||
text-decoration: line-through;
|
||||
|
@ -226,7 +226,7 @@ code {
|
|||
text-decoration: underline;
|
||||
}
|
||||
.comment .meta a.submitter {
|
||||
background-color: #006414;
|
||||
background-color: #0055df;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
border-radius: 3px;
|
||||
|
@ -805,7 +805,6 @@ nav li {
|
|||
nav ul a {
|
||||
background-color: #eff7ff;
|
||||
text-decoration: none;
|
||||
color: #006414;
|
||||
padding: 2px 6px 0 6px;
|
||||
}
|
||||
.dark nav ul a {
|
||||
|
@ -818,7 +817,6 @@ nav ul a {
|
|||
}
|
||||
|
||||
nav .selected a {
|
||||
color: orangered;
|
||||
background-color: white;
|
||||
border: 1px solid #00a846;
|
||||
border-bottom: 1px solid white;
|
||||
|
|
|
@ -238,6 +238,7 @@ func Render(w http.ResponseWriter, templateName string, state State) {
|
|||
}
|
||||
func GetRoot(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
|
||||
data := make(map[string]any)
|
||||
data["Title"] = r.Host
|
||||
tmpl, err := GetTemplate("root.html")
|
||||
if err != nil {
|
||||
fmt.Println("execute fail", err)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<head>
|
||||
<title>{{ if and .Community (ne .Community.CommunityView.Community.Title "")}}{{.Community.CommunityView.Community.Title}}{{else if ne .CommunityName ""}}/c/{{.CommunityName}}{{ else if .User}}overview for {{.User.PersonView.Person.Name}}{{else}}{{ host .Host }}{{end}}</title>
|
||||
<link rel="shortcut icon" href="/{{.Host}}/icon.jpg">
|
||||
<link rel="stylesheet" href="/_/static/style.css?v=8">
|
||||
<link rel="stylesheet" href="/_/static/style.css?v=10">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</head>
|
||||
<body {{ if .Dark }}class="dark"{{end}}>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>{{if and .Posts .PostID }}{{ (index .Posts 0).Post.Name}} : {{.CommunityName}}{{else if and .Community (ne .Community.CommunityView.Community.Title "")}}{{.Community.CommunityView.Community.Title}}{{else if ne .CommunityName ""}}/c/{{.CommunityName}}{{ else if .User}}overview for {{.User.PersonView.Person.Name}}{{else}}{{ host .Host }}{{end}}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="shortcut icon" href="/{{.Host}}/icon.jpg">
|
||||
<link rel="stylesheet" href="/_/static/style.css?v=8">
|
||||
<link rel="stylesheet" href="/_/static/style.css?v=10">
|
||||
</head>
|
||||
<body{{ if .Dark }} class="dark"{{end}}>
|
||||
<noscript>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<body>
|
||||
<nav>
|
||||
<div class="spacer"></div>
|
||||
<span class="title">mlmym</span>
|
||||
<span class="title">{{ .Title }}</span>
|
||||
</nav>
|
||||
<form class="root" method="POST">
|
||||
<label>Enter a <a href="https://join-lemmy.org/instances" target="blank_">lemmy</a> domain or url
|
||||
|
|
Loading…
Reference in a new issue