blog.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. /* Blog main page */
  2. div#content{
  3. display: table;
  4. }
  5. div#content div#content_row{
  6. display: table-row;
  7. }
  8. div#content div#content_row div.content_cell{
  9. padding: 1em;
  10. display: table-cell;
  11. }
  12. div#content div#content_row div#content_cell_main{
  13. width: 75%;
  14. }
  15. div#post_list img.post_list_image{
  16. float: left;
  17. background-color: #ffffff;
  18. border: 0.1em solid #003300;
  19. border-radius: 0.3em;
  20. margin: 0 0.7em 0.7em 0.7em;
  21. max-width: 5em;
  22. max-height: 3em;
  23. }
  24. div#post_list table.post_list_footer{
  25. font-size: 80%;
  26. width: 100%;
  27. }
  28. div#post_list table.post_list_footer td.comment_counter{
  29. font-style: italic;
  30. text-align: right;
  31. }
  32. div#post_list span.tags{
  33. font-size: 80%;
  34. font-style: italic;
  35. }
  36. /* Post view page. */
  37. div#content_cell_post{
  38. /* Post and comments container. */
  39. width: 75%;
  40. }
  41. div#post img#post_main_image{
  42. /* Post main image. */
  43. display: block;
  44. max-height: 11em;
  45. margin: 0.5em auto 1em auto;
  46. border: 0.1em solid #003400;
  47. border-radius: 0.5em;
  48. background-color: #ffffff;
  49. }
  50. div#post div#image_reel{
  51. /* Post secondary images container. */
  52. overflow-x: scroll;
  53. border: 0.1em solid #003400;
  54. border-radius: 0.3em;
  55. height: 7em;
  56. background-color: #334433;
  57. padding: 0.5em;
  58. }
  59. div#post div#image_reel img{
  60. /* Secondary images of the post. */
  61. vertical-align: middle;
  62. max-height: 5em;
  63. max-width: 7em;
  64. border: 0.2em solid #003400;
  65. border-radius: 0.1em;
  66. margin: 0.5em;
  67. background-color: #ffffff;
  68. }
  69. div#content_cell_info{
  70. /* post info container. */
  71. width: 25%;
  72. min-width: 8em;
  73. max-width: 20em;
  74. }
  75. /* Right panel */
  76. div#info hr{
  77. margin: 0 5% 0 5%;
  78. opacity: 0.3;
  79. }
  80. div#info h4{
  81. margin-top: 0.2em;
  82. margin-bottom: 0.2em;
  83. }
  84. div#info div.entry{
  85. margin: 0.2em;
  86. }
  87. div#info div#info_date{
  88. /* Date of the post. */
  89. text-align: center;
  90. font-style: italic;
  91. font-size: 70%;
  92. opacity: 80%;
  93. }
  94. div#info div#info_share{
  95. /* Share icons. */
  96. }
  97. div#info div#info_share div#social{
  98. text-align: center;
  99. }
  100. div#info div#info_tags{
  101. /* Post tages. */
  102. font-size: 80%;
  103. opacity: 90%;
  104. }
  105. div#info div#info_prev_next{
  106. /* Previous / next post. */
  107. }
  108. div#info div#info_prev_next table#prev_next{
  109. /* Previous/next posts links. */
  110. border-collapse: collapse;
  111. margin: 0 auto 0 auto;
  112. }
  113. div#info div#info_prev_next table#prev_next td{
  114. width: 50%;
  115. padding: 0.5em;
  116. }
  117. div#info div#info_prev_next table#prev_next td#prev{
  118. border-right: 0.03em solid #00440088;
  119. margin-right: 0.5em;
  120. text-align: right;
  121. }
  122. div#info div#info_prev_next table#prev_next td#next{
  123. border-left: 0.03em solid #00440088;
  124. margin-left: 0.5em;
  125. text-align: left;
  126. }
  127. div#info div#info_prev_next table#prev_next td span.info{
  128. font-size: 80%;
  129. }
  130. div#info div#info_prev_next table#prev_next td span.title{
  131. font-weight: bold;
  132. }
  133. div#info div#info_related{
  134. /* Related posts. */
  135. }
  136. div#info div#info_related ul{
  137. margin: 0 0 0 0.6em;
  138. padding-left: 0.7em;
  139. }
  140. div#info div#info_related ul li{
  141. margin: 0;
  142. }
  143. div#info div#info_search{
  144. /* Post search form. */
  145. }
  146. div#info div#info_search input#search_panel_input{
  147. display: inline-block;
  148. width: 60%;
  149. }
  150. div#info div#info_search input#search_panel_submit{
  151. display: inline-block;
  152. width: 30%;
  153. }
  154. div#info div#info_tag_cloud{
  155. /* Tag cloud. */
  156. }
  157. div#info div#info_tag_cloud div#cloud{
  158. text-align: center;
  159. }
  160. div#info div#info_all{
  161. /* Post archive. */
  162. margin-right: 0;
  163. padding-right: 0;
  164. }
  165. div#info_all div.list_year{
  166. /* Year list in the archive.*/
  167. margin-left: 1em;
  168. max-height: 0em;
  169. overflow-y: hidden;
  170. transition: max-height 0.6s ease-in-out;
  171. }
  172. div#info_all ul.post_list{
  173. margin-top: 0em;
  174. margin-bottom: 0em;
  175. max-height: 0em;
  176. overflow-y: hidden;
  177. transition: max-height 0.6s ease-in-out;
  178. }
  179. div#info_all ul.post_list li{
  180. padding: 0.2em 0 0 0;
  181. }
  182. div#info_all div.post_list_image_container{
  183. text-align: center;
  184. }
  185. div#info_all img.post_list_image{
  186. float: center;
  187. max-width: 15em;
  188. max-width: 90%;
  189. max-height: 9em;
  190. margin: 0.5em 1em 0 0.5em;
  191. border: 0.15em solid #333333;
  192. border-radius: 0.2em;
  193. box-shadow: 0 0 0.5em #111111;
  194. }