pen-base.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. /*--------------------------------------------------------------
  2. >>> TABLE OF CONTENTS:
  3. ----------------------------------------------------------------
  4. # Typography
  5. # Elements
  6. # Forms
  7. # Navigation
  8. ## Links
  9. ## Menus
  10. # Accessibility
  11. # Alignments
  12. # Clearings
  13. # Widgets
  14. # Content
  15. ## Posts and pages
  16. ## Comments
  17. # Infinite scroll
  18. # Media
  19. ## Captions
  20. ## Galleries
  21. --------------------------------------------------------------*/
  22. /*--------------------------------------------------------------
  23. # Typography
  24. --------------------------------------------------------------*/
  25. body,
  26. button,
  27. input,
  28. select,
  29. optgroup,
  30. textarea {
  31. color: #404040;
  32. font-family: sans-serif;
  33. font-size: 16px;
  34. line-height: 1.5;
  35. }
  36. h1,
  37. h2,
  38. h3,
  39. h4,
  40. h5,
  41. h6 {
  42. clear: both;
  43. display: block;
  44. }
  45. p {
  46. margin: 0 0 1.5em;
  47. }
  48. p:last-child {
  49. margin-bottom: 0;
  50. }
  51. dfn,
  52. cite,
  53. em,
  54. i {
  55. font-style: italic;
  56. }
  57. blockquote {
  58. margin: 0 1.5em;
  59. }
  60. address {
  61. margin: 0 0 1.5em;
  62. }
  63. pre {
  64. background: #eee;
  65. font-family: "Courier 10 Pitch", Courier, monospace;
  66. font-size: 1em;
  67. line-height: 1.6;
  68. margin-bottom: 1.6em;
  69. max-width: 100%;
  70. overflow: auto;
  71. padding: 1.6em;
  72. }
  73. code,
  74. kbd,
  75. tt,
  76. var {
  77. font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  78. font-size: 1em;
  79. }
  80. abbr,
  81. acronym {
  82. border-bottom: 1px dotted #666;
  83. cursor: help;
  84. }
  85. mark,
  86. ins {
  87. background: #fff9c0;
  88. text-decoration: none;
  89. }
  90. big {
  91. font-size: 125%;
  92. }
  93. /*--------------------------------------------------------------
  94. # Elements
  95. --------------------------------------------------------------*/
  96. html {
  97. box-sizing: border-box;
  98. }
  99. *,
  100. *:before,
  101. *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  102. box-sizing: inherit;
  103. }
  104. body {
  105. background: #fff; /* Fallback for when there is no custom background color defined. */
  106. overflow-x: hidden;
  107. }
  108. blockquote:before,
  109. blockquote:after,
  110. q:before,
  111. q:after {
  112. content: "";
  113. }
  114. blockquote,
  115. q {
  116. quotes: "" "";
  117. }
  118. hr {
  119. background-color: rgba(170,170,170,0.5);
  120. border: 0;
  121. height: 1px;
  122. margin-bottom: 1.5em;
  123. }
  124. ul,
  125. ol {
  126. margin: 0 0 1.5em 3em;
  127. }
  128. ul {
  129. list-style: disc;
  130. }
  131. ol {
  132. list-style: decimal;
  133. }
  134. li > ul,
  135. li > ol {
  136. margin-bottom: 0;
  137. margin-left: 1.5em;
  138. }
  139. dt {
  140. font-weight: bold;
  141. }
  142. dd {
  143. margin: 0 1.5em 1.5em;
  144. }
  145. img {
  146. height: auto; /* Make sure images are scaled correctly. */
  147. max-width: 100%; /* Adhere to container width. */
  148. }
  149. figure {
  150. margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
  151. }
  152. table {
  153. margin: 0 0 1.5em;
  154. width: 100%;
  155. }
  156. /*--------------------------------------------------------------
  157. # Forms
  158. --------------------------------------------------------------*/
  159. button,
  160. input[type="button"],
  161. input[type="reset"],
  162. input[type="submit"] {
  163. background: #ffffff;
  164. border: 1px solid;
  165. border-color: #ccc #ccc #bbb;
  166. color: #333;
  167. color: rgba(0,0,0,0.8);
  168. font-size: 0.857em;
  169. line-height: 1;
  170. padding: .6em 1em .4em;
  171. }
  172. button:hover,
  173. input[type="button"]:hover,
  174. input[type="reset"]:hover,
  175. input[type="submit"]:hover {
  176. border-color: #ccc #bbb #aaa;
  177. }
  178. button:focus,
  179. input[type="button"]:focus,
  180. input[type="reset"]:focus,
  181. input[type="submit"]:focus,
  182. button:active,
  183. input[type="button"]:active,
  184. input[type="reset"]:active,
  185. input[type="submit"]:active {
  186. border-color: #aaa #bbb #bbb;
  187. }
  188. input[type="text"],
  189. input[type="email"],
  190. input[type="url"],
  191. input[type="password"],
  192. input[type="search"],
  193. input[type="number"],
  194. input[type="tel"],
  195. input[type="range"],
  196. input[type="date"],
  197. input[type="month"],
  198. input[type="week"],
  199. input[type="time"],
  200. input[type="datetime"],
  201. input[type="datetime-local"],
  202. input[type="color"],
  203. textarea {
  204. background: rgba(255,255,255,0.75);
  205. color: #333;
  206. border: 1px solid rgba(0,0,0,0.5);
  207. }
  208. select {
  209. border: 1px solid rgba(0,0,0,0.5);
  210. }
  211. input[type="text"]:focus,
  212. input[type="email"]:focus,
  213. input[type="url"]:focus,
  214. input[type="password"]:focus,
  215. input[type="search"]:focus,
  216. input[type="number"]:focus,
  217. input[type="tel"]:focus,
  218. input[type="range"]:focus,
  219. input[type="date"]:focus,
  220. input[type="month"]:focus,
  221. input[type="week"]:focus,
  222. input[type="time"]:focus,
  223. input[type="datetime"]:focus,
  224. input[type="datetime-local"]:focus,
  225. input[type="color"]:focus,
  226. textarea:focus {
  227. color: #111;
  228. }
  229. input[type="text"],
  230. input[type="email"],
  231. input[type="url"],
  232. input[type="password"],
  233. input[type="search"],
  234. input[type="number"],
  235. input[type="tel"],
  236. input[type="range"],
  237. input[type="date"],
  238. input[type="month"],
  239. input[type="week"],
  240. input[type="time"],
  241. input[type="datetime"],
  242. input[type="datetime-local"],
  243. input[type="color"] {
  244. padding: 3px;
  245. }
  246. textarea {
  247. padding-left: 3px;
  248. width: 100%;
  249. }
  250. /*--------------------------------------------------------------
  251. # Navigation
  252. --------------------------------------------------------------*/
  253. /*--------------------------------------------------------------
  254. ## Links
  255. --------------------------------------------------------------*/
  256. a {
  257. color: #0087cc;
  258. }
  259. a:visited {
  260. color: #5c2e95;
  261. }
  262. a:hover,
  263. a:focus,
  264. a:active {
  265. color: #18b1e7;
  266. }
  267. a:focus {
  268. outline: thin dotted;
  269. }
  270. a:hover,
  271. a:active {
  272. outline: 0;
  273. }
  274. /*--------------------------------------------------------------
  275. ## Menus
  276. --------------------------------------------------------------*/
  277. .site-main .comment-navigation,
  278. .site-main .posts-navigation,
  279. .site-main .post-navigation {
  280. margin: 0 0 1.5em;
  281. overflow: hidden;
  282. }
  283. .comment-navigation .nav-previous,
  284. .posts-navigation .nav-previous,
  285. .post-navigation .nav-previous {
  286. float: left;
  287. width: 50%;
  288. }
  289. .comment-navigation .nav-next,
  290. .posts-navigation .nav-next,
  291. .post-navigation .nav-next {
  292. float: right;
  293. text-align: right;
  294. width: 50%;
  295. }
  296. /*--------------------------------------------------------------
  297. # Accessibility
  298. --------------------------------------------------------------*/
  299. /* Text meant only for screen readers. */
  300. .screen-reader-text {
  301. clip: rect(1px, 1px, 1px, 1px);
  302. position: absolute !important;
  303. height: 1px;
  304. width: 1px;
  305. overflow: hidden;
  306. word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
  307. }
  308. .screen-reader-text:focus {
  309. background-color: #f1f1f1;
  310. clip: auto !important;
  311. color: #21759b;
  312. display: block;
  313. font-size: 1em;
  314. font-weight: bold;
  315. height: auto;
  316. left: 5px;
  317. line-height: normal;
  318. padding: 15px 23px 14px;
  319. text-decoration: none;
  320. top: 5px;
  321. width: auto;
  322. z-index: 100000; /* Above WP toolbar. */
  323. }
  324. /* Do not show the outline on the skip link target. */
  325. #content[tabindex="-1"]:focus {
  326. outline: 0;
  327. }
  328. /*--------------------------------------------------------------
  329. # Alignments
  330. --------------------------------------------------------------*/
  331. .alignleft {
  332. display: inline;
  333. float: left;
  334. margin: 1em 1.5em;
  335. margin-left: 0;
  336. }
  337. .alignright {
  338. display: inline;
  339. float: right;
  340. margin: 1em 1.5em;
  341. margin-right: 0;
  342. }
  343. .aligncenter {
  344. clear: both;
  345. display: block;
  346. margin: 1em;
  347. margin-left: auto;
  348. margin-right: auto;
  349. }
  350. /*--------------------------------------------------------------
  351. # Clearings
  352. --------------------------------------------------------------*/
  353. .clear:before,
  354. .clear:after,
  355. .entry-content:before,
  356. .entry-content:after,
  357. .comment-content:before,
  358. .comment-content:after,
  359. .site-header:before,
  360. .site-header:after,
  361. .site-content:before,
  362. .site-content:after,
  363. .site-footer:before,
  364. .site-footer:after {
  365. content: "";
  366. display: table;
  367. table-layout: fixed;
  368. }
  369. .clear:after,
  370. .entry-content:after,
  371. .comment-content:after,
  372. .site-header:after,
  373. .site-content:after,
  374. .site-footer:after {
  375. clear: both;
  376. }
  377. /*--------------------------------------------------------------
  378. # Widgets
  379. --------------------------------------------------------------*/
  380. .widget {
  381. margin: 0 0 1.5em;
  382. }
  383. .widget:last-child {
  384. margin: 0;
  385. }
  386. /* Make sure select elements fit in widgets. */
  387. .widget select {
  388. max-width: 100%;
  389. }
  390. /*--------------------------------------------------------------
  391. # Content
  392. --------------------------------------------------------------*/
  393. /*--------------------------------------------------------------
  394. ## Posts and pages
  395. --------------------------------------------------------------*/
  396. .post,
  397. .page {
  398. margin: 0 0 1.5em;
  399. }
  400. .posted-on time.updated {
  401. display: none;
  402. }
  403. .posted-on time.published {
  404. display: inline-block;
  405. }
  406. .page-content,
  407. .entry-content,
  408. .entry-summary {
  409. margin: 1.5em 0 0;
  410. }
  411. .page-links {
  412. clear: both;
  413. margin: 0 0 1.5em;
  414. }
  415. /*--------------------------------------------------------------
  416. ## Comments
  417. --------------------------------------------------------------*/
  418. .comment-content a {
  419. word-wrap: break-word;
  420. }
  421. .bypostauthor {
  422. display: block;
  423. }
  424. /*--------------------------------------------------------------
  425. # Infinite scroll
  426. --------------------------------------------------------------*/
  427. /* Globally hidden elements when Infinite Scroll is supported and in use. */
  428. .infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
  429. .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
  430. display: none;
  431. }
  432. /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
  433. .infinity-end.neverending .site-footer {
  434. display: block;
  435. }
  436. /*--------------------------------------------------------------
  437. # Media
  438. --------------------------------------------------------------*/
  439. .page-content .wp-smiley,
  440. .entry-content .wp-smiley,
  441. .comment-content .wp-smiley {
  442. border: none;
  443. margin-bottom: 0;
  444. margin-top: 0;
  445. padding: 0;
  446. }
  447. /* Make sure embeds and iframes fit their containers. */
  448. embed,
  449. iframe,
  450. object {
  451. max-width: 100%;
  452. }
  453. /* Make sure logo link wraps around logo image. */
  454. .custom-logo-link{
  455. display: inline-block;
  456. }
  457. /*--------------------------------------------------------------
  458. ## Captions
  459. --------------------------------------------------------------*/
  460. .wp-caption {
  461. margin-bottom: 1.5em;
  462. max-width: 100%;
  463. }
  464. .wp-caption img[class*="wp-image-"] {
  465. display: block;
  466. margin-left: auto;
  467. margin-right: auto;
  468. }
  469. .wp-caption .wp-caption-text {
  470. margin: 0.8075em 0;
  471. }
  472. .wp-caption-text {
  473. text-align: center;
  474. }
  475. /*--------------------------------------------------------------
  476. ## Galleries
  477. --------------------------------------------------------------*/
  478. .gallery {
  479. margin-bottom: 1.5em;
  480. }
  481. .gallery-item {
  482. display: inline-block;
  483. text-align: center;
  484. vertical-align: top;
  485. width: 100%;
  486. }
  487. .gallery-columns-2 .gallery-item {
  488. max-width: 50%;
  489. }
  490. .gallery-columns-3 .gallery-item {
  491. max-width: 33.33333%;
  492. }
  493. .gallery-columns-4 .gallery-item {
  494. max-width: 25%;
  495. }
  496. .gallery-columns-5 .gallery-item {
  497. max-width: 20%;
  498. }
  499. .gallery-columns-6 .gallery-item {
  500. max-width: 16.66667%;
  501. }
  502. .gallery-columns-7 .gallery-item {
  503. max-width: 14.28571%;
  504. }
  505. .gallery-columns-8 .gallery-item {
  506. max-width: 12.5%;
  507. }
  508. .gallery-columns-9 .gallery-item {
  509. max-width: 11.11111%;
  510. }
  511. .gallery-caption {
  512. display: block;
  513. }