diff --git a/web/static/index.css b/web/static/index.css index 8f2996a..e9e9af6 100644 --- a/web/static/index.css +++ b/web/static/index.css @@ -16,6 +16,7 @@ body { #boardList { font-size: 12px; + margin: 5px; } #boardList a { @@ -35,19 +36,38 @@ body { } .board-header h1 { - padding: 0; - margin: 0; + font-weight: bold; + font-size: 1.8rem; + margin: 8px; + margin-top: 12px; } .board-header p { - font-size: 12px; - margin: 5px; + font-size: .8rem; + margin: 4px; } .board-header img { width: 300px; } +.new-thread-btn { + display: block; + margin: auto; + margin-top: 12px; + background: none; + border: none; + padding: 0; + font-weight: bold; + font-size: 1.2rem; + color: #34345C; + cursor: pointer; +} + +.new-thread-btn:hover { + color: #ff0000 +} + /* GENERAL LAYOUT */ .container { diff --git a/web/static/reset.css b/web/static/reset.css new file mode 100644 index 0000000..fe3386b --- /dev/null +++ b/web/static/reset.css @@ -0,0 +1,135 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} + +/* HTML5 display-role reset for older browsers */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} + +body { + line-height: 1; +} + +ol, +ul { + list-style: none; +} + +blockquote, +q { + quotes: none; +} + +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ''; + content: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} diff --git a/web/views/boards/comfy.templ b/web/views/boards/comfy.templ index 1ae6426..f5994e7 100644 --- a/web/views/boards/comfy.templ +++ b/web/views/boards/comfy.templ @@ -11,5 +11,6 @@ templ Comfy() {

Be comfy fren

+ } } diff --git a/web/views/boards/comfy_templ.go b/web/views/boards/comfy_templ.go index 6de95e9..6a4d35b 100644 --- a/web/views/boards/comfy_templ.go +++ b/web/views/boards/comfy_templ.go @@ -43,7 +43,7 @@ func Comfy() templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "

\"/comfy/\" - Comfy

Be comfy fren

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "

\"/comfy/\" - Comfy

Be comfy fren

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/web/views/shared/layout.templ b/web/views/shared/layout.templ index 2eb5705..b2b6d3f 100644 --- a/web/views/shared/layout.templ +++ b/web/views/shared/layout.templ @@ -1,32 +1,30 @@ package shared templ Layout() { - - - - - - Comfychan - - - - -
- - [ - index - ] - - - [ - comfy - / - r9k - ] - -
- { children... } - - - + + + + + Comfychan + + + + +
+ + [ + index + ] + + + [ + comfy + / + r9k + ] + +
+ { children... } + + } diff --git a/web/views/shared/layout_templ.go b/web/views/shared/layout_templ.go index 4aba5ee..58c6476 100644 --- a/web/views/shared/layout_templ.go +++ b/web/views/shared/layout_templ.go @@ -29,7 +29,7 @@ func Layout() templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "Comfychan
[ index ] [ comfy / r9k ]
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "Comfychan
[ index ] [ comfy / r9k ]
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }