main.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. #app{
  21. position: relative;
  22. text-align: center;
  23. margin: 0 auto;
  24. }
  25. main#content{
  26. display:inline-block;
  27. text-align: left;
  28. // &>*{
  29. // width: 450px;
  30. // }
  31. }
  32. h1.part{
  33. font-size: 1.6em;
  34. width:450px;
  35. margin: 1em 0;
  36. }
  37. section.enonce{
  38. width:450px;
  39. margin: 1em 0;
  40. overflow-x: visible;
  41. @include base_font;
  42. // max-height:14px;
  43. // overflow: hidden;
  44. // transition: max-height 0.5s ease-in-out;
  45. // &.active{
  46. // max-height:1000px;
  47. // }
  48. h2{
  49. font-size: 1em;
  50. font-weight: 300;
  51. margin: 0;
  52. cursor:pointer;
  53. }
  54. h3{
  55. font-size: 0.9em;
  56. font-weight: 300;
  57. margin: 0;
  58. cursor:pointer;
  59. }
  60. div.text{
  61. font-size: 1.3em;
  62. div.paragraph{
  63. margin-bottom: 1em;
  64. div.opened-link{
  65. display:inline;
  66. }
  67. a.link, span.link.text{
  68. font-weight: 600;
  69. text-decoration: none;
  70. color: inherit;
  71. }
  72. span.link.text:after{
  73. content:':'
  74. }
  75. section.enonce, section.item{
  76. padding-left:2em;
  77. border-left: 1px solid #999;
  78. }
  79. }
  80. }
  81. }