summaryrefslogtreecommitdiff
path: root/main_style.css
Commit message (Collapse)AuthorAgeFilesLines
* Adapt CSS to new HTML with reproduced designhellekin2020-09-291-14/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | Note: I forgot to warn against inline CSS. It's (become) bad practice and may lead to design inconsistency on secure sites that explicitly forbid inline CSS (to avoid some classes of attacks where attackers inject CSS rules). It also breaks separation of semantic content and visual design. I.e., the site should look good without style at all (try "View > Page Style > no style" on your browser). Here come the CSS changes: 1. Replace `padding-top` with `line-height`: it gives a similar result, but the original text appears in the middle of the logo... 2. Which brings to `color: transparent` to remove the text without removing it for text-based browsers (including screen readers) 3. Apply `.tagline` style to `body>header>h2` to keep consistency with the proposed design 4. Apply inline CSS to the `.tagline` class (now uniquely used by the tagline). 5. Remove the `div.padding` and use a `padding-bottom` on the header instead 6. Apply `div.grid-container` to `main>article` instead 7. Apply `.grid-container>section` to `main>article>section` instead 8. Apply `.button` to `main nav a` instead 9. Remove `div[name=padding]` and apply margin to `aside>section` Here we match the proposed design almost to the pixel.
* Beautify CSShellekin2020-09-291-34/+34
| | | | | Before making any change, I ran `js-beautify` on the file so we can share consistent minimal changes. See previous commits for more information about `js-beautify`.
* Put logo on top of page, changed background color, but links are still hard ↵Nemael2020-09-221-7/+8
| | | | to see, maybe put a picture in background of the website?
* First webpage updateNemael2020-09-211-0/+51