blog.css 4.7 KB

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