app.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. @import './base/reset';
  2. @import './base/variables';
  3. @import './base/colors';
  4. @import './base/grid';
  5. @import './base/layout';
  6. @import './base/fonts';
  7. body{
  8. color: #1a1a1a;
  9. }
  10. header[role="banner"]{
  11. div.wrapper{
  12. display: grid;
  13. grid-template-columns: 1fr 1fr;
  14. }
  15. h1.site-title{
  16. grid-column: 1;
  17. margin:0;
  18. font-size: 1em;
  19. }
  20. nav#header-menu{
  21. grid-column: 2;
  22. text-align: right;
  23. >ul>li{
  24. display: inline-block;
  25. margin-right: 1em;
  26. position: relative;
  27. >ul{
  28. position: absolute;
  29. top:1em; right:0;
  30. overflow: hidden;
  31. >li{
  32. transition: height 0.3s ease-in-out;
  33. height:0.2px;
  34. }
  35. }
  36. &:hover{
  37. >ul>li{
  38. height:1em;
  39. }
  40. }
  41. }
  42. li>span,li>a{
  43. font-size: 0.9em;
  44. }
  45. }
  46. }
  47. section[role="main-content"]{
  48. }
  49. footer[role="search-bar"]{
  50. #search{
  51. color: #fff;
  52. background-color: $bleuroi;
  53. }
  54. #results{
  55. // color: #1a1a1a;
  56. background-color: $gris;
  57. }
  58. #history{
  59. // color: #1a1a1a;
  60. background-color: $or;
  61. }
  62. }