pen-layout.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. #page .pen_container {
  2. width: 100%;
  3. }
  4. #content,
  5. #pen_top,
  6. #pen_search,
  7. #pen_bottom,
  8. #pen_footer {
  9. float: left;
  10. width: 100%;
  11. }
  12. #pen_top {
  13. padding: 0;
  14. }
  15. #pen_section {
  16. float: left;
  17. position: relative;
  18. width: 100%;
  19. }
  20. #content {
  21. min-height: 500px;
  22. position: relative;
  23. z-index: 2;
  24. }
  25. #content .sidebar {
  26. z-index: 10;
  27. }
  28. #main {
  29. position: relative;
  30. z-index: 20;
  31. }
  32. #main .page-content,
  33. #main .entry-content,
  34. #main .entry-summary {
  35. margin: 0;
  36. }
  37. #pen_header,
  38. #pen_masonry,
  39. #pen_right,
  40. #pen_search_top,
  41. #pen_search_left,
  42. #pen_search_right,
  43. #pen_search_bottom,
  44. #comments,
  45. #respond,
  46. #primary,
  47. #main,
  48. #main .entry-content,
  49. #main .entry-footer,
  50. #pen_content_top,
  51. #pen_content_bottom,
  52. #pen_footer .pen_footer_inner,
  53. #pen_footer_top,
  54. #pen_footer_top .widget,
  55. #pen_footer_bottom,
  56. #pen_footer_bottom .widget {
  57. float: left;
  58. width: 100%;
  59. }
  60. #pen_search_top,
  61. #pen_search_left,
  62. #pen_search_right,
  63. #pen_search_bottom {
  64. position: relative;
  65. }
  66. #pen_left,
  67. #pen_right {
  68. margin: 0 0 1em;
  69. position: relative;
  70. z-index: 400;
  71. }
  72. #pen_content_top,
  73. #pen_content_bottom {
  74. padding: 2em;
  75. }
  76. #pen_footer_top .widget {
  77. margin: 0 0 1em;
  78. }
  79. #pen_footer_left,
  80. #pen_footer_right {
  81. float: left;
  82. width: 28%;
  83. }
  84. #pen_footer_right {
  85. float: right;
  86. }
  87. body.visible-sidebar-footer-left #pen_footer .pen_footer_inner,
  88. body.visible-sidebar-footer-right #pen_footer .pen_footer_inner {
  89. width: 70%;
  90. }
  91. body.visible-sidebar-footer-left.visible-sidebar-footer-right #pen_footer .pen_footer_inner {
  92. width: 40%;
  93. }
  94. @media only screen and (min-width:728px) {
  95. #page .pen_container {
  96. margin: 0 auto;
  97. width: 98%;
  98. }
  99. body.pen_width_boxed #page {
  100. margin: 0 auto;
  101. max-width: 1200px;
  102. width: 85%;
  103. }
  104. body.pen_width_boxed #page .pen_container {
  105. width: 100%;
  106. }
  107. body.pen_width_boxed #pen_header .pen_header_main .pen_container {
  108. width: 95%;
  109. }
  110. body.visible-sidebar-search-left.invisible-sidebar-search-right #pen_search_left .pen_widget_transparent {
  111. padding-left: 2em;
  112. }
  113. body.visible-sidebar-search-right.invisible-sidebar-search-left #pen_search_right .pen_widget_transparent {
  114. padding-right: 2em;
  115. }
  116. body.visible-sidebar-search-right #pen_search_right,
  117. body.visible-sidebar-search-left #pen_search_form {
  118. float: right;
  119. }
  120. body.visible-sidebar-search-left #pen_search_left,
  121. body.visible-sidebar-search-right #pen_search_right {
  122. width: 30%;
  123. }
  124. body.visible-sidebar-search-left #pen_search_form,
  125. body.visible-sidebar-search-right #pen_search_form {
  126. width: 70%;
  127. }
  128. body.visible-sidebar-search-left.visible-sidebar-search-right #pen_search_form {
  129. float: left;
  130. padding: 0 1em;
  131. width: 50%;
  132. }
  133. body.visible-sidebar-search-left.visible-sidebar-search-right #pen_search_left,
  134. body.visible-sidebar-search-left.visible-sidebar-search-right #pen_search_right {
  135. width: 25%;
  136. }
  137. body.pen_width_default #page .pen_container,
  138. body.pen_width_standard #page .pen_container {
  139. max-width: 1200px;
  140. }
  141. #pen_left,
  142. #pen_right {
  143. position: absolute;
  144. top: 2em;
  145. width: 20%;
  146. }
  147. #pen_left {
  148. left: 0;
  149. }
  150. #pen_right {
  151. right: 0;
  152. }
  153. body.pen_main_container_left #pen_left {
  154. left: auto;
  155. right: 0;
  156. }
  157. body.visible-sidebar-left.visible-sidebar-right.pen_main_container_left #pen_left {
  158. left: 58%;
  159. }
  160. body.visible-sidebar-left.visible-sidebar-right.pen_main_container_right #pen_right {
  161. left: 22%;
  162. right: auto;
  163. }
  164. body.pen_main_container_right #pen_right {
  165. left: 0;
  166. right: auto;
  167. }
  168. body.pen_main_container_left #pen_right {
  169. left: auto;
  170. right: 0;
  171. }
  172. body.pen_main_container_left #primary {
  173. float: left;
  174. }
  175. body.pen_main_container_right #primary {
  176. float: right;
  177. }
  178. body.visible-sidebar-left #primary {
  179. padding-left: 22%;
  180. }
  181. body.visible-sidebar-right #primary {
  182. padding-right: 22%;
  183. }
  184. body.visible-sidebar-left.pen_main_container_left #primary {
  185. padding-left: 0;
  186. padding-right: 22%;
  187. }
  188. body.visible-sidebar-right.pen_main_container_right #primary {
  189. padding-left: 22%;
  190. padding-right: 0;
  191. }
  192. body.visible-sidebar-left.visible-sidebar-right.pen_main_container_left #primary {
  193. padding-left: 0;
  194. padding-right: 43%;
  195. }
  196. body.visible-sidebar-left.visible-sidebar-right.pen_main_container_right #primary {
  197. padding-left: 43%;
  198. padding-right: 0;
  199. }
  200. #pen_masonry article,
  201. body.pen_masonry_columns_4 #pen_masonry article {
  202. width: 24% !important;
  203. }
  204. body.pen_masonry_columns_4 #pen_masonry article .mejs-controls div.mejs-time-rail {
  205. max-width: 100px;
  206. }
  207. body.pen_masonry_columns_4 #page .mejs-controls .mejs-time-rail span,
  208. body.pen_masonry_columns_4 #page .mejs-controls .mejs-time-rail a {
  209. max-width: 80px;
  210. }
  211. body.pen_masonry_columns_5 #pen_masonry article {
  212. width: 19% !important;
  213. }
  214. body.pen_masonry_columns_5 #pen_masonry article .mejs-controls div.mejs-time-rail {
  215. max-width: 90px;
  216. }
  217. body.pen_masonry_columns_5 #page .mejs-controls .mejs-time-rail span,
  218. body.pen_masonry_columns_5 #page .mejs-controls .mejs-time-rail a {
  219. max-width: 70px;
  220. }
  221. body.pen_masonry_columns_5.visible-sidebar-left #pen_masonry article,
  222. body.pen_masonry_columns_5.visible-sidebar-right #pen_masonry article,
  223. body.pen_masonry_columns_4.visible-sidebar-left #pen_masonry article,
  224. body.pen_masonry_columns_4.visible-sidebar-right #pen_masonry article,
  225. body.pen_masonry_columns_3 #pen_masonry article {
  226. width: 32.33% !important;
  227. }
  228. body.visible-sidebar-left.visible-sidebar-right #pen_masonry article,
  229. body.pen_masonry_columns_5.visible-sidebar-left.visible-sidebar-right #pen_masonry article,
  230. body.pen_masonry_columns_4.visible-sidebar-left.visible-sidebar-right #pen_masonry article,
  231. body.pen_masonry_columns_3.visible-sidebar-right.visible-sidebar-left #pen_masonry article,
  232. body.pen_masonry_columns_2 #pen_masonry article {
  233. width: 49% !important;
  234. }
  235. }
  236. @media only screen and (min-width:728px) and (max-width:1024px) and (orientation:portrait) {
  237. body.pen_masonry_columns_4 #pen_masonry article,
  238. body.pen_masonry_columns_5 #pen_masonry article {
  239. width: 32.33% !important;
  240. }
  241. body.pen_masonry_columns_4.visible-sidebar-left #pen_masonry article,
  242. body.pen_masonry_columns_4.visible-sidebar-right #pen_masonry article,
  243. body.pen_masonry_columns_5.visible-sidebar-left #pen_masonry article,
  244. body.pen_masonry_columns_5.visible-sidebar-right #pen_masonry article {
  245. width: 49% !important;
  246. }
  247. body.pen_masonry_columns_4.visible-sidebar-left.visible-sidebar-right #pen_masonry article,
  248. body.pen_masonry_columns_5.visible-sidebar-left.visible-sidebar-right #pen_masonry article {
  249. width: 100% !important;
  250. }
  251. }
  252. @media only screen and (max-width:728px) {
  253. body.pen_width_boxed #page {
  254. margin: 0 auto;
  255. width: 95%;
  256. }
  257. #primary {
  258. margin: 0 0 1em;
  259. }
  260. #pen_left,
  261. #pen_right,
  262. #pen_bottom {
  263. float: left;
  264. padding: 1em 0;
  265. width: 100%;
  266. }
  267. #pen_footer .pen_footer_inner,
  268. #pen_footer_left,
  269. #pen_footer_right {
  270. width: 100%;
  271. }
  272. }