lieu/html/assets/style.css

272 wiersze
4.3 KiB
CSS
Czysty Zwykły widok Historia

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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
/* BASE OR CONFIG */
:root {
--primary: #fefefe;
--secondary: #000;
--link: #fefefe;
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
/* alt colorscheme: 1 */
/* --primary: red; */
/* --secondary: #fefefe; */
/* alt colorscheme: 2 */
/* --primary: #F35363; */
/* --secondary: black; */
}
/* Font-size 62.5% allows using rems as pixels. For ex: 1.6rem = 16px. Way es */
html {
font-size: 62.5%;
}
body {
/* defaults for old browsers */
color: white;
background: black;
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
body {
font-family: "Inter UI", sans-serif;
background: var(--secondary);
color: var(--primary);
font-size: 1.6rem;
}
a {
cursor: pointer;
color: var(--link);
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
text-decoration: none;
border-bottom: 0.1rem solid var(--link);
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
word-wrap: break-word;
}
a:hover {
border-bottom-style: dotted;
}
p {
hyphens: auto;
}
2021-04-22 10:21:51 +00:00
h1 {
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
font-family: "Noto Serif";
font-weight: 400;
font-size: 4.8rem;
line-height: 1;
2021-04-22 10:21:51 +00:00
}
h2 {
font-family: "Noto Serif";
font-weight: 400;
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
font-size: 2.4rem;
line-height: 1;
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
input[type="search"] {
font-size: 1.6rem;
border-radius: 0.16rem;
padding: 0.8rem 0.8rem 0.8rem 1.2rem;
border: 0;
color: var(--primary);
background: var(--secondary);
border: var(--primary) solid 0.1rem;
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
width: 100%;
max-width: 30rem;
2021-04-22 10:21:51 +00:00
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
ul {
padding: 0;
2021-04-22 10:21:51 +00:00
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
/* COMPOSITION */
header {
display: flex;
justify-content: space-between;
align-items: center;
height: auto;
width: 100%;
2021-04-22 10:21:51 +00:00
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
main {
height: calc(100vh - 10rem);
padding-left: 3.2rem;
padding-right: 3.2rem;
2021-04-22 10:21:51 +00:00
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
nav li {
2021-04-22 10:21:51 +00:00
display: inline-block;
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
/* BLOCKS */
2021-04-22 10:21:51 +00:00
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
/* Block elements are grouped by "family" */
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
.header-home {
padding: 2.1rem 3.2rem;
2021-04-22 10:21:51 +00:00
}
.header-home_link, .header-home_link:hover {
2021-04-22 10:21:51 +00:00
font-family: "Noto Serif";
font-weight: 400;
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
font-size: 2.4rem;
border-bottom: none;
2021-04-22 10:21:51 +00:00
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
.header-home_navigation *+* {
margin-left: 1.6rem;
2021-04-22 10:21:51 +00:00
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
/* Search block */
.search {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.search__input {
display: flex;
width: 100%;
}
.search__button {
cursor: pointer;
border: 0;
transition: opacity 150ms;
height: 4rem;
min-width: 4.8rem;
padding: 0;
display: flex;
align-items: center;
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
background-color: var(--secondary);
margin: 0 5px;
}
.search__button svg {
width: 100%;
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
height: auto;
2021-04-22 10:21:51 +00:00
}
2021-10-20 16:08:20 +00:00
/* Search Results */
.result-nav-list {
display: grid;
grid-auto-flow: column;
justify-content: start;
grid-column-gap: 0.75rem;
padding-bottom: 0;
font-size: 1.8rem;
}
.result__current {
/* font-weight: bold; */
color: var(--link);
2021-10-20 16:08:20 +00:00
text-decoration-line: underline;
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
/* Entries */
2021-04-22 10:21:51 +00:00
.entry {
-webkit-column-break-inside: avoid;
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
-moz-column-break-inside: avoid;
-moz-page-break-inside: avoid;
2021-04-22 10:21:51 +00:00
page-break-inside: avoid;
break-inside: avoid-column;
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
.entry>*+* {
margin-top: 0.8rem;
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
}
.entry__link {
font-style: italic;
}
.entry__text {
color: var(--primary);
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
line-height: 1.2;
2021-04-22 10:21:51 +00:00
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
/* UTILITY CLASSES */
.italic-text {
2021-04-22 10:21:51 +00:00
font-style: italic;
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
.flow>*+* {
margin-top: 1.6rem;
}
.flow2>*+* {
margin-top: calc(1.6rem * 2);
}
.flex-grow {
flex-grow: 1;
}
.grid-items-center {
display: grid;
place-items: center;
}
.width-63ch {
max-width: 63ch;
}
.width-126ch {
max-width: 126ch;
}
.two-columns {
columns: 2;
}
@media (max-width: 700px) {
.two-columns {
columns: 1;
2021-04-22 10:21:51 +00:00
}
}
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
.visually-hidden {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
.translateY-75 {
transform: translateY(-75%);
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 4da18c1fb388490219922b2bcff457adcfe0a3a0. * 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 15:00:01 +00:00
}
@import url('inter-ui-web/inter-ui.css');
@font-face {
font-family: 'Noto Serif';
src: url('NotoSerif.woff2') format('woff2'), url("NotoSerif-Regular.ttf") format("ttf");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Noto Serif';
src: url('NotoSerif-Italic.woff2') format('woff2'), url("NotoSerif-Italic.ttf") format('ttf');
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Noto Serif';
src: url('NotoSerif-Bold.woff2') format('woff2'), url("NotoSerif-Bold.ttf") format('ttf');
font-weight: bold;
font-style: normal;
font-display: swap;
}