pen-layout.css 6.7 KB

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