main.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. // @Author: Bachir Soussi Chiadmi <bach>
  2. // @Date: 16-04-2017
  3. // @Email: bachir@figureslibres.io
  4. // @Last modified by: bach
  5. // @Last modified time: 18-04-2017
  6. // @License: GPL-V3
  7. $fs:16px;
  8. @mixin base_font{
  9. font-family: 'amiri', sans-serif;
  10. font-size: $fs;
  11. font-kerning: auto;
  12. line-height: 1.4;
  13. }
  14. html, body{
  15. @include base_font;
  16. position: relative;
  17. margin:0;
  18. padding:0;
  19. }
  20. header{
  21. >*{
  22. display: inline-block;
  23. }
  24. }
  25. aside#menus{
  26. float:right;
  27. >ul{
  28. display: inline-block;
  29. }
  30. ul#languages{
  31. li{
  32. list-style: none;
  33. line-height: 0.9;
  34. a{
  35. text-decoration: none;
  36. color: inherit;
  37. }
  38. }
  39. }
  40. }
  41. #app{
  42. position: relative;
  43. text-align: center;
  44. margin: 0 auto;
  45. }
  46. main#content{
  47. display:inline-block;
  48. text-align: left;
  49. // &>*{
  50. // width: 450px;
  51. // }
  52. }
  53. h1.part{
  54. font-size: 1.6em;
  55. width:450px;
  56. margin: 1em 0;
  57. }
  58. section.enonce{
  59. width:450px;
  60. margin: 1em 0;
  61. overflow-x: visible;
  62. @include base_font;
  63. // max-height:14px;
  64. // overflow: hidden;
  65. // transition: max-height 0.5s ease-in-out;
  66. // &.active{
  67. // max-height:1000px;
  68. // }
  69. h2{
  70. font-size: 1em;
  71. font-weight: 300;
  72. margin: 0;
  73. cursor:pointer;
  74. }
  75. h3{
  76. font-size: 0.9em;
  77. font-weight: 300;
  78. margin: 0;
  79. cursor:pointer;
  80. }
  81. div.text{
  82. font-size: 1.3em;
  83. div.paragraph{
  84. margin-bottom: 1em;
  85. div.opened-link{
  86. display:inline;
  87. }
  88. a.link, span.link.text{
  89. font-weight: 600;
  90. text-decoration: none;
  91. color: inherit;
  92. }
  93. span.link.text:after{
  94. content:':'
  95. }
  96. section.enonce, section.item{
  97. padding-left:2em;
  98. border-left: 1px solid #999;
  99. }
  100. }
  101. }
  102. }