Updated some EJS and CSS to make it look a bit nicer (I am hopeless at
UX)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<div id='tag-page-title'>
|
<div id='tag-page-title'>
|
||||||
<h1>
|
<h1>
|
||||||
<%= locale.posts_tagged %>: "<%- tag %>"
|
#<%- tag %>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<%- config.seperator %>
|
<%- config.seperator %>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div id="post-header">
|
<div id="post-header">
|
||||||
<h1>
|
<h2>
|
||||||
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
||||||
</h1>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="post-tags">
|
<div id="post-tags">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div id="post-header">
|
<div id="post-header">
|
||||||
<h1>
|
<h2>
|
||||||
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
||||||
</h1>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="post-tags">
|
<div id="post-tags">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div id="post-header">
|
<div id="post-header">
|
||||||
<h1>
|
<h2>
|
||||||
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
||||||
</h1>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="post-tags">
|
<div id="post-tags">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div id="post-header">
|
<div id="post-header">
|
||||||
<h1>
|
<h2>
|
||||||
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
||||||
</h1>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="post-tags">
|
<div id="post-tags">
|
||||||
|
|||||||
@@ -8,9 +8,42 @@ body {
|
|||||||
#post-edit img {
|
#post-edit img {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
}
|
}
|
||||||
|
input, textarea, button {
|
||||||
|
border: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background-color: #333333;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #546BEB;
|
||||||
|
}
|
||||||
|
a:visited {
|
||||||
|
color: #EF46F1;
|
||||||
|
}
|
||||||
|
input, textarea, button {
|
||||||
|
background-color: #1E1E1E;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
input, textarea, button {
|
||||||
|
background-color: #DEDEDE;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user