Advertisement
Nelka

My normalize CSS

Apr 29th, 2020
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.94 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Baloo+Tamma+2|Lato&display=swap');
  2.  
  3. :root {
  4.   --color-primary: #087;
  5.   --color-secondary: #fff;
  6.   --color-tercial: #000;
  7.   --font-normal: 400;
  8.   --font-bold: 700;
  9. }
  10.  
  11. * {
  12.   margin: 0; padding: 0;
  13.   box-sizing: border-box;
  14. }
  15.  
  16. html {
  17.   font-size: 1.1rem;
  18.   line-height: 1.7;
  19.   font-family: 'Lato', 'Helvetica', 'Ubuntu', 'Arial', sans-serif;
  20.   color: var(--color-primary);
  21.   font-weight: var(--font-normal);
  22. }
  23.  
  24. h1, h2, h3, h4, h5, h6 {
  25.   font-family: 'Baloo Tamma 2', cursive;
  26.   font-weight: var(--font-bold);
  27. }
  28.  
  29. h1, h2 {
  30.   margin-bottom: 1.2rem;
  31. }
  32.  
  33. h1 {
  34.  font-size: 2rem;
  35.  border-bottom: 1px solid var(--color-tercial);
  36. }
  37.  
  38. h2 {
  39.   font-size: 1.7rem;
  40.   border-bottom: 1px dashed var(--color-tercial);
  41. }
  42.  
  43. h3, h4, h5, h6 {
  44.   margin-bottom: 1.1rem;
  45. }
  46.  
  47. p {
  48.   margin-bottom: 1.1rem;
  49. }
  50.  
  51. input[type=text] {
  52.   border: 1px solid var(--color-tercial);
  53.   padding: 0.3rem;
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement