Wykres commitów

48 Commity (fd4e186e5ac491f7844ba0e5b908c7047d13e378)

Autor SHA1 Wiadomość Data
cblgh fd4e186e5a css tweaks, make svg use --colors & add id to result paragraphs 2021-05-13 17:16:34 +02:00
Thomasorus 8a5fba92e3
HTML + CSS + overhaul performance (#2)
* Inputs should have a label for accessibility.

* Added missing standard head html elements

* Spaced things a little bit

* Added meta-description

* Added og and twitter tags for embeds.

* Added canonical url

* Added missing favicons links and theme color

* Added .ico version of favicon for compatibility purposes

* Navigation elements should be in nav to allow screen readers to identify them

* You should have only one h1 tag in your page.

* Added reset file

* Removed padding and margin from html (will redo later)

* Removed all margins 0 (reset already has them) or arbitrary margins

* Global styling should be on body, not html

* Added the 62.5% rule to ease REM handling

* CHANGE TIME! Creating a new CSS file because it's easier lol

* Created fonts css file

* Created config css file

* Moved old base.css and old style.css to new folder

* Renamed index.css to style.css

* Moved reset to css folder

* Added composition file for all our maco level positionning

* Added role list to remove style, added navigation in nav in partial

* Added header positionning

* Splitted space between header and main with viewport height

* Replace a class by article for accessibility and styling

* Finished positionning elements on the home

* bringing back some base styles from previous base file

* Added title fonts back

* Added utility class to simulate h2 style on header link

* Added font swap to avoid invisible text when fonts are loading

* Removed border from home-link

* Created an utility class for italic text and added it to subtitle

* Moved the header link style to blocks, as it's too specific to be utility

* Changed class name in template

* Added flow class utility to space elements between themselves

* Put line-height to 1 on titltes to ease spacing between elements

* Added input style from previous css and converted values to new REM

* Forgot to add new class name to header partial

* Fixed fonts urls

* Imported blocks file in main file

* Added form centering

* Added button style

* Added flex grow utility for the search input

* Turned the whole header into a Block element instead of using config

* Adjusted header padding to match existing design

* Turned header into a fixed element, main takes 100vh

* Removed grid centering from main since it's not used in other pages, now an utility class

* Revert "Removed grid centering from main since it's not used in other pages, now an utility class"

This reverts commit 4da18c1fb3.

* Moved grid centering from composition to utilities since it's specific to the home

* Added top 0 to stick to top

* Created an utility margin class for main

* Wrappred content into an article, added margin-top-main class

* Added grid item center utility class to index

* Added utility classe for article max-width

* Added back hyphens for paragraphs

* Added padding to main

* Added flow and width63 classes to article

* Added width63 to article on about page

* Moved button from config to block as it's not a default style

* Added label to search and redid styles

* Added the name of the webring inside the label

* Replace background image by inline svg in the button

* Fixed margin on button

* Added an aria label and title since the button has no text

* ADjusted the size of the inline svg to avoid a flash of giant svg during loading

* Removed unused style on form

* Added a title element for accessibility

* Created utility class two columns for search results

* Removed padding from ul list by default

* Move search in main, put results into list, added flow and two cols

* Typo

* Added flow2 spacing utility class

* Added entries styles to blocks

* Updated style of entries

* Reduced main top margin

* Added width126 class to contain entries, updated template

* Added visually hidden class

* Added same template as search for webring partial

* Added missing article

* Added translateY50% utility class

* Added translateY to uncenter search box on index

* Added break inside management to avoid text splitted between cols

* Totally removed position fixed header, it was a wrong idea. Adjusted main instead.

* Fixed input and button responsive design

* Reduced transparency for accessibility reasons

* Added a title for accessibility reasons

* Added all code except reset inside main style file

* Added reset directly in head

* Fixed fonts urls

* Deleted useless files

* Converted fonts to woff2, went from 1.7mo to 400ko.

* Moved fonts loading to the end of the file to avoid rendering issues
2021-05-13 17:00:01 +02:00
cblgh 72adc9f749 Merge branch 'main' of github.com:cblgh/lieu into main 2021-05-12 13:53:30 +02:00
cblgh e0f200bdba set LIEU_DEV='' env variable for quicker html dev 2021-05-12 13:52:51 +02:00
Alexander Cobleigh e146e31edb
update example toml, add placeholder + tagline 2021-05-11 20:59:25 +02:00
cblgh 6cd59b2f3d make index tagline & search placeholder customizable 2021-05-11 20:55:07 +02:00
cblgh 17635a513d remove /search 2021-05-11 20:48:23 +02:00
cblgh e0f9c73fd0 /webring redirects to webring link 2021-05-11 20:46:42 +02:00
cblgh 44914e0f21 merge eotl changes :) 2021-05-11 20:39:14 +02:00
cblgh 5fa9106153 refactor: remove unused fields, rename struct 2021-05-11 20:13:50 +02:00
cblgh fc14bad76c tweak eotl's changes to fit original design 2021-05-11 19:46:18 +02:00
basebuilder 4533344652 ignore data/ dir, clarify instructions in README, update go.sum 2021-05-01 12:08:09 +00:00
cblgh 9ffff1dc1a refactor index handling of empty queries 2021-04-25 18:48:34 +02:00
cblgh 180fb9663d fmt 2021-04-25 12:20:39 +02:00
cblgh c002ee6790 simplify route handlers by using handler struct 2021-04-25 11:12:43 +02:00
cblgh 380ba5e450 parse templates once, not for every request 2021-04-25 10:53:15 +02:00
basebuilder 96cf3d915f standardize <main> tag layouts 2021-04-22 10:22:57 +00:00
basebuilder 8eb7d281d7 use single CSS file 2021-04-22 10:21:51 +00:00
basebuilder 19ce97e6dc make Handlers render termplates with partials 2021-04-13 22:32:53 +00:00
basebuilder 2f5a6b1cf4 convert HTML files to include templates 2021-04-13 22:29:38 +00:00
cblgh d0ca7c8083 Merge branch 'main' of github.com:cblgh/lieu into main 2021-03-12 18:00:39 +01:00
cblgh 26aa8779fb Merge branch 'main' of github.com:cblgh/lieu into main 2021-03-12 18:00:39 +01:00
cblgh 6df1a379e4 improve results from /random 2021-03-12 18:00:24 +01:00
cblgh 4c4705af43 improve results from /random 2021-03-12 18:00:24 +01:00
Alexander Cobleigh 072c7b2589
add screenshot 2021-02-06 11:29:19 +01:00
Alexander Cobleigh 5a3c1d5a80 add screenshot 2021-02-06 11:29:19 +01:00
cblgh 4ba6437f0a add type=search to search inputs 2021-02-04 19:49:23 +01:00
cblgh 63f0fc22a9 add type=search to search inputs 2021-02-04 19:49:23 +01:00
cblgh 2d0f49916e remove errant corners on button 2021-02-04 19:48:50 +01:00
cblgh e985db9c9c remove errant corners on button 2021-02-04 19:48:50 +01:00
cblgh 58000fba47 go fmt 2021-02-04 17:44:58 +01:00
cblgh 3b7d89ab5e go fmt 2021-02-04 17:44:58 +01:00
cblgh 456887637e handle more errors, close sql.Rows 2021-02-04 15:53:03 +01:00
cblgh 3bf70aeac5 handle more errors, close sql.Rows 2021-02-04 15:53:03 +01:00
cblgh 9adc42052a tweak favicon for better proportions 2021-02-04 09:50:59 +01:00
cblgh 98c03cb955 tweak favicon for better proportions 2021-02-04 09:50:59 +01:00
cblgh 1813a019bd add logo by devine, input validation 2021-02-04 09:41:42 +01:00
cblgh 6cdffc79fb add logo by devine, input validation 2021-02-04 09:41:42 +01:00
cblgh af8c62fbbe fix crash on empty query 2021-02-03 21:59:04 +01:00
cblgh 5bedcac01e fix crash on empty query 2021-02-03 21:59:04 +01:00
cblgh 65554d1864 include html ':) 2021-02-03 19:00:40 +01:00
cblgh 5fadf5b12b include html ':) 2021-02-03 19:00:40 +01:00
Alexander Cobleigh afc58d627c
Create LICENSE 2021-02-03 18:56:45 +01:00
Alexander Cobleigh 273ea3277d Create LICENSE 2021-02-03 18:56:45 +01:00
cblgh 56d3660b68 use correct paths, go fmt 2021-02-03 17:22:40 +01:00
cblgh 5231ff3571 add release script 2021-02-03 09:51:17 +01:00
cblgh 66f223ed09 fix bug in error log 2021-02-03 09:51:09 +01:00
cblgh 28d052f4c3 launch 2021-02-03 09:12:30 +01:00