Examples of code I've written in PHP, Javascript, SCSS, etc.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

50 lignes
887 B

  1. @use "sass:map";
  2. @use "sass:color";
  3. @use "vars/vars";
  4. @use "partials/effects";
  5. @use "partials/navigator";
  6. header.home {
  7. margin: 5vh auto 0 auto;
  8. max-width: 60rem;
  9. display: block;
  10. height: auto;
  11. background-color: transparent;
  12. h1.logo {
  13. font-size: 3em;
  14. font-family:'EBGaramond-initials2', 'EBGaramond';
  15. margin: auto;
  16. text-align: center;
  17. width: inherit;
  18. position: relative;
  19. top: 50px;
  20. }
  21. .nav-container {
  22. }
  23. nav {
  24. background-color: vars.getColor('light-grey');
  25. margin-top: 20%;
  26. max-width: 100%;
  27. min-height: 2em;
  28. }
  29. }
  30. .home div.hero {
  31. background-color: vars.getColor('primary');
  32. margin: 0 25px;
  33. height: 30rem;
  34. border-radius: 5px;
  35. box-shadow: 8px 14px 38px rgba(39,44,49,.1), 1px 3px 8px rgba(39,44,49,.06);
  36. }
  37. .hero img {
  38. display: block;
  39. width: 70px;
  40. margin-left: auto;
  41. margin-right: auto;
  42. padding-top: 50px;
  43. }
  44. .home .nav-item {
  45. min-height: 2em;
  46. }