Compare commits

...

2 Commits

Author SHA1 Message Date
1d1e4d863e Untracked robots.txt 2025-10-25 11:32:28 +01:00
3b47701c18 Made some divs consistent, the header was a div type with id='header'
and the footer was a footer type with no id, so now they are both both.
Also added some margins at the top and bottom of the page in CSS
2025-10-25 11:31:08 +01:00
7 changed files with 24 additions and 18 deletions

1
.gitignore vendored
View File

@@ -10,3 +10,4 @@ hitcount.txt
data
images/*
webroot/custom.css
webroot/robots.txt

View File

@@ -4,9 +4,9 @@
<%- include('../partials/head'); %>
</head>
<body>
<div id="header">
<header id="header">
<%- include("../headers/site_wide") %>
</div>
</header>
<div id="comment">
<%- include("../partials/comment"); %>
</div>

View File

@@ -4,13 +4,13 @@
<%- include('../partials/head'); %>
</head>
<body>
<div id="header">
<header id="header">
<%- include("../headers/site_wide") %>
</div>
</header>
<div id="posts">
<%- include('../posts/post'); %>
</div>
<footer>
<footer id='footer'>
<%- include('../partials/footer'); %>
</footer>
</body>

View File

@@ -4,10 +4,10 @@
<%- include('../partials/head'); %>
</head>
<body>
<div id="header">
<header id="header">
<%- include('../headers/site_wide'); %>
<%- include('../headers/tag'); %>
</div>
</header>
<div id="posts">
<% for (let index = posts.length - 1; index >= 0; index--) { %>
<% if ( posts[index].deleted != true) { %>
@@ -19,7 +19,7 @@
<% } %>
<% } %>
</div>
<footer>
<footer id='footer'>
<%- include('../partials/footer'); %>
</footer>
</body>

View File

@@ -4,10 +4,10 @@
<%- include('../partials/head'); %>
</head>
<body>
<div id="header">
<header id="header">
<%- include("../headers/site_wide") %>
<%- include('../headers/timeline'); %>
</div>
</header>
<form method="POST" action="/submit_nothing" style="display:none">
<!-- Form is used to help mitigate spam as it is the first form on the front page -->
<input type="hidden" name="post_index" value="0">
@@ -29,7 +29,7 @@
<textarea placeholder="comment" name="content"></textarea><br/>
<button type="submit">Submit</button>
</form>
<footer>
<footer id='footer'>
<%- include('../partials/footer'); %>
</footer>
</body>

View File

@@ -4,10 +4,10 @@
<%- include('../partials/head'); %>
</head>
<body>
<div id="header">
<header id="header">
<%- include("../headers/site_wide") %>
<%- include('../headers/user'); %>
</div>
</header>
<div id="posts">
<% for (let index = posts.length - 1; index >= 0; index--) { %>
<% if (posts[index].userID == userID) { %>
@@ -15,7 +15,7 @@
<% } %>
<% } %>
</div>
<footer>
<footer id='footer'>
<%- include('../partials/footer'); %>
</footer>
</body>

View File

@@ -1,16 +1,21 @@
body {
max-width: 900px;
margin: auto;
max-width: 900px;
margin: auto;
}
#header {
text-align: center;
margin-top: 10px;
text-align: center;
}
#footer {
margin-bottom: 10px;
}
.icon {
width: 20px;
width: 15px;
}
input, textarea, button {
border: none;
border-radius: 5px;
field-sizing: content; /* Only supported by Chromium */
}
a {
text-decoration: none;