A tumblelog theme for Hugo
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.

main.css 2.6 KiB

il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. body {
  2. background-color: #777;
  3. width: 600px;
  4. margin: 50px auto;
  5. font-family: Helvetica, Arial, sans-serif;
  6. }
  7. .quote {
  8. font-family: monospace;
  9. border: 0px #777 solid;
  10. /*background-color: #eee;*/
  11. font-size: 1.8rem;
  12. line-height: 2.0rem;
  13. /*padding: 20px;*/
  14. margin: 30px 0;
  15. }
  16. .quote-credit {
  17. /*font-style: italic;*/
  18. text-align: right;
  19. font-size: 1.0rem;
  20. }
  21. .list-item {
  22. display: block;
  23. border: 0px #777 solid;
  24. background-color: white;
  25. padding: 10px 20px;
  26. margin: 60px 0;
  27. border-radius: 10px;
  28. }
  29. .list-item img {
  30. margin: 0px 0 20px 0;
  31. border-radius: 10px;
  32. }
  33. .list-quote {
  34. background-color: #444;
  35. color: white;
  36. }
  37. .list-video {
  38. background-color: #000;
  39. color: white;
  40. }
  41. .postmeta, .listmeta {
  42. font-size: 100%;
  43. color: #aaa;
  44. font-family: monospace;
  45. text-align: right;
  46. }
  47. .aside-list {
  48. font-family: Georgia, "Times New Roman", serif;
  49. font-size: 2.7rem;
  50. line-height: 3.5rem;
  51. }
  52. #aside-single {
  53. margin: 10rem 0;
  54. color: white;
  55. font-family: Georgia, "Times New Roman", serif;
  56. font-size: 4.0rem;
  57. line-height: 4.5rem;
  58. }
  59. img {
  60. width: 100%;
  61. border-radius: 10px;
  62. }
  63. figure {
  64. margin: 20px 0;
  65. padding: 0;
  66. }
  67. figcaption {
  68. text-transform: lowercase;
  69. letter-spacing: 0.2rem;
  70. text-align: center;
  71. font-size: 1.8rem;
  72. }
  73. article {
  74. font-size: 1.2rem;
  75. line-height: 1.6rem;
  76. }
  77. h1 {
  78. color: white;
  79. text-transform: lowercase;
  80. }
  81. article h1 {
  82. font-size: 2.0rem;
  83. line-height: 2.4rem;
  84. margin: 50px 0;
  85. }
  86. #site-title {
  87. margin: 70px 0;
  88. }
  89. #site-title a, #site-title a:visited {
  90. font-size: 4.0rem;
  91. color: white;
  92. text-decoration: none;
  93. text-transform: lowercase;
  94. }
  95. .tags li {
  96. display: inline;
  97. list-style-type: none;
  98. margin: 0 0 0 10px;
  99. text-transform: lowercase;
  100. }
  101. .tags li a, .tags li a:hover, .tags li a:visited {
  102. color: #777;
  103. text-decoration: none;
  104. }
  105. ul.pagination {
  106. margin: 0;
  107. padding: 0;
  108. }
  109. ul.pagination li {
  110. display: inline;
  111. /*background-color: white;*/
  112. color: white;
  113. /*padding: 10px;*/
  114. margin: 0 30px 0 0;
  115. }
  116. ul.pagination a {
  117. width: 20px;
  118. height: 20px;
  119. font-size: 1.7rem;
  120. font-family: monospace;
  121. color: white;
  122. text-decoration: none;
  123. }
  124. ul.pagination li.active a {
  125. background-color: white;
  126. color: #777;
  127. padding: 5px 10px;
  128. }
  129. ul.pagination li.disabled {
  130. color: #333;
  131. }
  132. ul.tag-cloud {
  133. margin: 30px 0;
  134. padding: 0;
  135. }
  136. ul.tag-cloud li {
  137. display: inline;
  138. margin: 0;
  139. padding: 10px 20px 10px 0;
  140. line-height: 2rem;
  141. }
  142. ul.tag-cloud li a, ul.tag-cloud li a:visited {
  143. color: white;
  144. text-decoration: none;
  145. }
  146. @media screen and (max-width: 599px) {
  147. body {
  148. width: 90%;
  149. margin: 20px auto;
  150. }
  151. img {
  152. width: 100%;
  153. }
  154. }