style-old.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. $breakpoint-phone: 600px;
  2. $breakpoint-tablet: 900px;
  3. $breakpoint-normal-screen: 1200px;
  4. $breakpoint-big-screen: 1800px;
  5. body {
  6. margin:0;
  7. padding:0;
  8. background: #000001;
  9. color: #37ffad;
  10. font-family: monospace;
  11. width:100%;
  12. @media screen and (max-width: $breakpoint-normal-screen) {
  13. display:flex;
  14. flex-wrap: wrap;
  15. }
  16. header{
  17. flex:1 1 100%;
  18. }
  19. main{
  20. display: flex;
  21. justify-content: center;
  22. @media screen and (max-width: $breakpoint-normal-screen) {
  23. flex-wrap: wrap;
  24. }
  25. article{
  26. max-width:42em;
  27. margin:auto;
  28. }
  29. aside{
  30. border:solid 1pt yellow;
  31. padding:2em 3em;
  32. max-width: 42em;
  33. }
  34. }
  35. section{
  36. width:100%;
  37. ul{
  38. display: flex;
  39. list-style-type: none;
  40. flex-wrap: wrap;
  41. width:80%;
  42. margin:auto;
  43. li{
  44. display:flex;
  45. .orario{
  46. width:4em;
  47. background:red;
  48. height:1.3em;
  49. color:white;
  50. display: flex;
  51. justify-content: center;
  52. }
  53. h4{
  54. margin:0 1em;
  55. /*
  56. a{
  57. {{ range .Site.RegularPages }}
  58. # {{ replace .Title " " "_" }}:target > .descrizione-talk{
  59. display: block;
  60. }
  61. {{ end }}
  62. }*/
  63. }
  64. flex:1 1 80%;
  65. margin-bottom: 0.7em;
  66. height:4em;
  67. text-decoration:none;
  68. border:solid 1pt white;
  69. }
  70. }
  71. }
  72. @media screen and (max-width: $breakpoint-phone) {
  73. main{
  74. margin: 0 5% 0 5%;
  75. }
  76. }
  77. }
  78. header {
  79. background-color: yellow;
  80. }