pen-general.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. *,
  2. *:before,
  3. *:after {
  4. -webkit-box-sizing: border-box;
  5. -moz-box-sizing: border-box;
  6. box-sizing: border-box;
  7. }
  8. body {
  9. background: #333333;
  10. color: #fff;
  11. font-family: -apple-system-font,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif;
  12. }
  13. a {
  14. text-decoration: none;
  15. }
  16. a,
  17. a > span {
  18. transition: color .2s;
  19. }
  20. a:focus,
  21. a:hover,
  22. a:active {
  23. text-decoration: underline;
  24. }
  25. .clearfix:after {
  26. content: ".";
  27. display: block;
  28. height: 0;
  29. clear: both;
  30. visibility: hidden;
  31. }
  32. * html .clearfix {
  33. height: 1%;
  34. }
  35. *:first-child + html .clearfix {
  36. min-height: 1%;
  37. }
  38. #page a:focus,
  39. #page a:active,
  40. #page input:focus,
  41. #page input:active {
  42. outline: none !important;
  43. }
  44. #wp-admin-bar-pen-theme-menu a {
  45. font-weight: bold;
  46. }
  47. body.custom-background.pen_shards:before,
  48. body.custom-background.pen_trianglify:before {
  49. background: transparent !important;
  50. }
  51. body.pen_background_lights_dim:before,
  52. body.custom-background.pen_background_lights_dim:before,
  53. body.custom-background.pen_shards.pen_background_lights_dim:before,
  54. body.custom-background.pen_trianglify.pen_background_lights_dim:before {
  55. background: rgba(0,0,0,0.5) !important;
  56. content: "";
  57. height: 100%;
  58. left: 0;
  59. position: fixed;
  60. top: 0;
  61. width: 100%;
  62. z-index: -1;
  63. }
  64. #page .sidebar a,
  65. #pen_bottom a,
  66. #pen_footer a {
  67. transition: background-color .2s, color .2s;
  68. }
  69. a#pen_back {
  70. background: #000;
  71. bottom: -0.5em;
  72. color: #fff;
  73. opacity: 0.75;
  74. padding: 0.5em 1em 1em;
  75. position: fixed;
  76. right: 1em;
  77. text-shadow: 1px 1px 2px rgba(0,0,0,0.75);
  78. transition: opacity .5s;
  79. z-index: 10000;
  80. }
  81. body.pen_round_corners a#pen_back {
  82. border-radius: 100px 100px 0 0;
  83. }
  84. a#pen_back:before {
  85. content: "\f102";
  86. font-family: "FontAwesome";
  87. font-weight: normal;
  88. }
  89. a#pen_back:focus,
  90. a#pen_back:hover,
  91. a#pen_back:active {
  92. opacity: 1;
  93. outline: none;
  94. text-decoration: none;
  95. }
  96. #page .pen_not_visible {
  97. visibility: hidden; /* When we cannot use pen_element_hidden nor display:none because of the jQuery plugins such as Masonry etc. */
  98. }
  99. .pen_element_hidden {
  100. border: 0 none !important;
  101. clip: rect(1px,1px,1px,1px);
  102. clip: rect(1px 1px 1px 1px);
  103. height: 1px !important;
  104. margin: 0 !important;
  105. overflow: hidden !important;
  106. padding: 0 !important;
  107. position: absolute !important;
  108. width: 1px !important;
  109. }
  110. .screen-reader-shortcut:focus {
  111. background: rgba(0,0,0,0.75);
  112. color: #fff;
  113. left: 0;
  114. top: 0;
  115. width: 100%;
  116. }
  117. #page .mejs-controls div.mejs-time-rail {
  118. max-width: 80%;
  119. }
  120. #page .mejs-controls a.mejs-horizontal-volume-slider {
  121. width: auto;
  122. }
  123. .pen_message {
  124. background: #fff9ce;
  125. background: -ms-linear-gradient(325deg, #fff9ce 0%, #fff5ab 100%);
  126. background: linear-gradient(155deg, #fff9ce 0%, #fff5ab 100%);
  127. border-bottom: 1px solid #e3dc90;
  128. color: #333;
  129. float: left;
  130. font-size: 0.857em;
  131. padding: 1em;
  132. position: relative;
  133. width: 100%;
  134. z-index: 50000;
  135. }
  136. .pen_message a {
  137. color: #0087cc !important;
  138. font-weight: bold;
  139. }
  140. .pen_message a:focus,
  141. .pen_message a:hover,
  142. .pen_message a:active {
  143. color: #0087aa !important;
  144. }
  145. .pen_message p {
  146. margin: 0;
  147. padding: 0;
  148. }
  149. .pen_message ol {
  150. margin: 0.5em 0 0 0.5em;
  151. }
  152. .pen_message_warning p:before {
  153. color: #ffb900;
  154. content: "\f071";
  155. font-family: "FontAwesome";
  156. font-weight: normal;
  157. margin: 0 1em 0 0;
  158. }
  159. #page .pen_loading {
  160. background: rgba(0,0,0,0.75);
  161. border: 0 none;
  162. color: rgba(255,255,255,0.5);
  163. font-weight: normal;
  164. font-size: 1.5em;
  165. left: 0;
  166. min-height: 100%;
  167. position: fixed;
  168. text-align: center;
  169. text-shadow: 1px 1px 10px rgba(0,0,0,0.25);
  170. top: 0;
  171. width: 100%;
  172. z-index: 100000;
  173. }
  174. #page .pen_loading ul,
  175. #page .pen_loading li {
  176. line-height: 1;
  177. list-style: none;
  178. margin: 0 !important;
  179. padding: 0 !important;
  180. }
  181. #page .pen_loading ul,
  182. #page .pen_loading .pen_wrap_icon {
  183. position: absolute;
  184. left: 50% !important;
  185. top: 50% !important;
  186. transform: translate(-50%,-50%);
  187. }
  188. #page .pen_loading ul {
  189. list-style: none;
  190. padding: 0 0 0 30px;
  191. }
  192. #page .pen_loading .pen_icon,
  193. #page .pen_loading .pen_wrap_icon {
  194. height: 250px !important;
  195. width: 250px !important;
  196. }
  197. #page .pen_loading .pen_icon {
  198. background: transparent;
  199. border-top: 1em solid rgba(255,255,255,0.1) !important;
  200. border-right: 1em solid rgba(255,255,255,0.1) !important;
  201. border-bottom: 1em solid rgba(255,255,255,0.1) !important;
  202. border-left: 1em solid rgba(255,255,255,0.5) !important;
  203. border-radius: 50% !important;
  204. font-size: 10px !important;
  205. height: 25em !important;
  206. left: 0;
  207. margin: 0;
  208. padding: 0;
  209. position: absolute;
  210. top: 0;
  211. width: 25em !important;
  212. animation: pen_loading 0.5s infinite linear;
  213. }
  214. @keyframes pen_loading {
  215. 0% {
  216. -ms-transform: rotate(0deg);
  217. transform: rotate(0deg);
  218. }
  219. 100% {
  220. -ms-transform: rotate(360deg);
  221. transform: rotate(360deg);
  222. }
  223. }
  224. #page h1.page-title .pen_heading_main {
  225. display: block;
  226. font-size: 0.857em;
  227. font-weight: normal;
  228. opacity: 0.75;
  229. }
  230. body.author header .page-title,
  231. body.category header .page-title,
  232. body.date header .page-title,
  233. body.error404 header .page-title,
  234. body.search header .page-title,
  235. body.tag header .page-title {
  236. line-height: 1.1;
  237. padding-left: 105px !important;
  238. position: relative;
  239. }
  240. body.author header .page-title:before,
  241. body.category header .page-title:before,
  242. body.date header .page-title:before,
  243. body.error404 header .page-title:before,
  244. body.search header .page-title:before,
  245. body.tag header .page-title:before {
  246. background: linear-gradient(0deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.5) 100%);
  247. color: rgba(0,0,0,0.5);
  248. font-family: "FontAwesome";
  249. font-weight: normal;
  250. height: 78px;
  251. left: 5px;
  252. line-height: 1.5;
  253. margin: 0 0.5em 0 0;
  254. padding: 15px 0;
  255. position: absolute;
  256. text-align: center;
  257. text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  258. top: 50%;
  259. transform: translateY(-50%);
  260. width: 78px;
  261. }
  262. body.pen_drop_shadow.author header .page-title:before,
  263. body.pen_drop_shadow.category header .page-title:before,
  264. body.pen_drop_shadow.date header .page-title:before,
  265. body.pen_drop_shadow.error404 header .page-title:before,
  266. body.pen_drop_shadow.search header .page-title:before,
  267. body.pen_drop_shadow.tag header .page-title:before {
  268. box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
  269. }
  270. body.pen_round_corners.author header .page-title:before,
  271. body.pen_round_corners.category header .page-title:before,
  272. body.pen_round_corners.date header .page-title:before,
  273. body.pen_round_corners.error404 header .page-title:before,
  274. body.pen_round_corners.search header .page-title:before,
  275. body.pen_round_corners.tag header .page-title:before {
  276. border-radius: 10px;
  277. }
  278. body.author header .page-title:before {
  279. content: "\f007";
  280. }
  281. body.category header .page-title:before {
  282. content: "\f187";
  283. }
  284. body.date header .page-title:before {
  285. content: "\f274";
  286. }
  287. body.error404 header .page-title:before {
  288. content: "\f071";
  289. }
  290. body.search header .page-title:before {
  291. content: "\f002";
  292. }
  293. body.tag header .page-title:before {
  294. content: "\f02b";
  295. }
  296. #error-404-search input {
  297. float: left;
  298. width: auto;
  299. }
  300. body.error404 #main section.error-404 .page-header,
  301. body.search #main section.no-results .page-header {
  302. margin-bottom: 2em;
  303. }
  304. body.error404 #main section.error-404 .page-content,
  305. body.search #main section.no-results .page-content {
  306. font-size: 1.5em;
  307. min-height: 500px;
  308. overflow: hidden;
  309. position: relative;
  310. }
  311. body.error404 #main section.error-404 .page-content:before,
  312. body.search #main section.no-results .page-content:before {
  313. color: rgba(170,170,170,0.25);
  314. font-family: "FontAwesome";
  315. font-size: 18em;
  316. line-height: 1;
  317. position: absolute;
  318. right: 10px;
  319. top: 10px;
  320. z-index: 0;
  321. }
  322. body.error404 #main section.error-404 .page-content:before {
  323. content: "\f071";
  324. }
  325. body.search #main section.no-results .page-content:before {
  326. content: "\f002";
  327. }
  328. @media only print {
  329. body {
  330. padding-top: 0 !important;
  331. }
  332. body.author header .page-title:before,
  333. body.category header .page-title:before,
  334. body.date header .page-title:before,
  335. body.error404 header .page-title:before,
  336. body.search header .page-title:before,
  337. body.tag header .page-title:before {
  338. display: none;
  339. }
  340. }