catalog tile style changes, remove lynxchan reference from footer

merge-requests/208/head
fatchan 5 years ago
parent c54c9e7892
commit 8712c67ae0
  1. 15
      gulp/res/css/style.css
  2. 2
      views/includes/footer.pug
  3. 12
      views/mixins/catalogtile.pug
  4. 2
      views/mixins/post.pug
  5. 2
      views/pages/catalog.pug
  6. 4
      wipe.js

@ -61,6 +61,7 @@ body {
box-sizing: border-box;
padding: 10px;
width: max-content;
width: -moz-max-content;
}
a, a:visited {
@ -87,7 +88,7 @@ object {
background: #d6daf0;
}
.catalog-tile-button {
.ecatalog-tile-button {
width: 100%;
line-height: 30px;
float: left;
@ -98,11 +99,8 @@ object {
overflow: hidden;
}
.catalog-tile-content {
padding: 5px;
}
.catalog-tile {
padding: 5px;
margin: 2px;
text-align: center;
max-height: 300px;
@ -128,7 +126,7 @@ object {
.catalog {
display:flex;
align-items:flex-start;
justify-content: space-evenly;
justify-content: center;
flex-flow: row wrap;
}
@ -219,7 +217,7 @@ td, th {
align-items: center;
}
.post-container, .pages, .toggle-summary {
.post-container, .pages, .toggle-summary, .catalog-tile {
background: #D6DAF0;
border: 1px solid #B7C5D9;
}
@ -260,6 +258,7 @@ td, th {
display: flex;
flex-flow: column wrap;
width: max-content;
width: -moz-max-content;
}
.toggle {
@ -574,7 +573,7 @@ hr {
}
.post-info {
background-color: #B7C5D9;
/*background-color: #B7C5D9;*/
}
}

@ -1,2 +1,2 @@
.footer
a(href='https://github.com/fatchan/jschan/') not lynxchan™
a(href='https://github.com/fatchan/jschan/') open source

@ -1,10 +1,6 @@
mixin catalogtile(board, post, truncate)
article(class='catalog-tile')
- const postURL = `/${board._id}/thread/${post.postId}.html#${post.postId}`
a.catalog-tile-button(href=postURL) Open Thread
if post.subject
span: a.no-decoration.post-subject(href=postURL) #{post.subject}
.catalog-tile-content
if post.files.length > 0
.post-file-src
a(href=postURL)
@ -15,16 +11,18 @@ mixin catalogtile(board, post, truncate)
header.post-info
if post.sticky
img(src='/img/sticky.svg' height='12')
|
if post.saged
img(src='/img/saged.svg' height='12')
|
if post.locked
img(src='/img/locked.svg' height='12')
|
span: a(href=postURL) No.#{post.postId}
|
span Replies: #{post.replyposts}
|
span Images: #{post.replyfiles}
span Files: #{post.replyfiles}
br
span: a.no-decoration.post-subject(href=postURL) #{post.subject || 'No Subject'}
if post.message
br
blockquote.no-m-p.post-message !{post.message}

@ -10,8 +10,10 @@ mixin post(post, truncate, manage=false, globalmanage=false)
if !post.thread
if post.sticky
img(src='/img/sticky.svg' height='12')
|
if post.saged
img(src='/img/saged.svg' height='12')
|
if post.locked
img(src='/img/locked.svg' height='12')
|

@ -7,6 +7,8 @@ block head
block content
include ../includes/boardheader.pug
br
include ../includes/postform.pug
br
nav.pages#top
a(href='#bottom') [Bottom]
|

@ -42,7 +42,7 @@ const Mongo = require(__dirname+'/db/db.js')
moderators: [],
banners: [],
settings: {
captcha: false,
captcha: true,
forceAnon: true,
ids: true,
threadLimit: 100,
@ -63,7 +63,7 @@ const Mongo = require(__dirname+'/db/db.js')
moderators: [],
banners: [],
settings: {
captcha: true,
captcha: false,
forceAnon: false,
ids: false,
threadLimit: 100,

Loading…
Cancel
Save