style.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986
  1. /*-------------------------
  2. Simple reset
  3. --------------------------*/
  4. * {
  5. margin: 0;
  6. padding: 0;
  7. }
  8. body {
  9. font-size: 17px;
  10. line-height: 1.6em;
  11. font-family: Georgia, sans-serif;
  12. background: #F7F7F7;
  13. color: #444444;
  14. }
  15. section, footer, header, aside, nav {
  16. display: block;
  17. }
  18. img {
  19. border: 0 none;
  20. height: auto;
  21. max-width: 100%;
  22. outline: 0 none;
  23. }
  24. .hide {
  25. display: none;
  26. }
  27. /*-------------------------
  28. Heading
  29. --------------------------*/
  30. h1, h2, h3, h4, h5, h6 {
  31. font-family: 'Source Sans', sans-serif;
  32. line-height: 1.3;
  33. margin: 0.5em 0;
  34. font-weight: 400;
  35. }
  36. h1 {
  37. font-size: 28px;
  38. }
  39. h2 {
  40. font-size: 24px;
  41. }
  42. h3 {
  43. font-size: 18px;
  44. }
  45. h4 {
  46. font-size: 16px;
  47. }
  48. h5 {
  49. font-size: 14px;
  50. }
  51. h6 {
  52. font-size: 12px;
  53. }
  54. /*-------------------------
  55. Layout
  56. --------------------------*/
  57. #cover {
  58. padding: 0 0 20px 0;
  59. float: left;
  60. width: 100%;
  61. }
  62. #header-wrapper {
  63. float: left;
  64. width: 100%;
  65. position: relative;
  66. }
  67. #header {
  68. position: relative;
  69. padding: 0 15px;
  70. margin: 0 auto;
  71. }
  72. #main-wrapper {
  73. float: left;
  74. width: 100%;
  75. background: #ffffff;
  76. position: relative;
  77. border-top: 1px solid #DFDFDF;
  78. border-bottom: 1px solid #DFDFDF;
  79. }
  80. #main {
  81. position: relative;
  82. padding: 0;
  83. margin: 0 auto;
  84. background: #ffffff;
  85. overflow: hidden;
  86. padding: 30px 15px;
  87. }
  88. .responsive {
  89. width: 950px;
  90. }
  91. /*-------------------------
  92. Link
  93. --------------------------*/
  94. a {
  95. color: #21759B;
  96. text-decoration: none;
  97. }
  98. a:hover {
  99. text-decoration: none;
  100. color: #D54E21;
  101. }
  102. .tab {
  103. width: 100%;
  104. margin: 1.5em 0 0 0;
  105. line-height: 1;
  106. border-bottom: 1px solid #E4E7EE;
  107. }
  108. .tab ul {
  109. padding:0;
  110. margin:0;
  111. }
  112. .tab li {
  113. display: inline-block;
  114. margin:0;
  115. padding:0;
  116. }
  117. .tab a {
  118. background: #E4E7EE;
  119. border-radius: 6px 6px 0px 0;
  120. color: #555555;
  121. text-align: center;
  122. padding: 8px 14px;
  123. display: inline-block;
  124. margin: 0 5px;
  125. font-size: 12px;
  126. font-weight: bold;
  127. font-family: 'Source Sans', sans-serif;
  128. }
  129. .tags a {
  130. margin-right:3px;
  131. }
  132. /*-------------------------
  133. Text element
  134. --------------------------*/
  135. p {
  136. margin: 1em 0;
  137. }
  138. blockquote:before {
  139. color: #BBBBBB;
  140. content: "“";
  141. font-size: 3em;
  142. line-height: 0.1em;
  143. margin-right: 0.2em;
  144. vertical-align: -0.4em;
  145. }
  146. blockquote:after {
  147. color: #BBBBBB;
  148. content: "”";
  149. font-size: 3em;
  150. line-height: 0.1em;
  151. vertical-align: -0.45em;
  152. }
  153. blockquote {
  154. font-style: italic;
  155. margin: 1em 0 1em 1em;
  156. }
  157. blockquote p {
  158. display: inline;
  159. }
  160. pre {
  161. margin: 1em 0;
  162. overflow: auto;
  163. background: #F1F1FF;
  164. color: #333333;
  165. display: block;
  166. font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  167. font-size: 14px;
  168. padding: 10px;
  169. line-height: 1.3;
  170. }
  171. code {
  172. color: #333333;
  173. font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  174. font-size: 15px;
  175. padding: 3px 8px;
  176. background: #F1F1FF;
  177. }
  178. pre code {
  179. color: #333333;
  180. display: block;
  181. font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  182. font-size: 14px;
  183. padding: 0;
  184. line-height: 1.6;
  185. }
  186. .thumbnail {
  187. float: left;
  188. height: 80px;
  189. width: 80px;
  190. margin: 5px 15px 0 0;
  191. overflow: hidden;
  192. display: block;
  193. background-repeat: no-repeat;
  194. background-position: center;
  195. background-size: cover;
  196. }
  197. ul, ol {
  198. padding-left: 30px;
  199. margin: 1em 0;
  200. }
  201. ul li, ol li {
  202. margin: 0.25em 0;
  203. }
  204. .category {
  205. background-color: #f9f9f9;
  206. border: 1px solid #ccc;
  207. border-radius: 4px;
  208. color: #333;
  209. display: block;
  210. font-size: 13px;
  211. margin: 20px 0;
  212. padding: 0 1em;
  213. }
  214. .tags a:after {
  215. content:", ";
  216. }
  217. .tags a:last-child:after {
  218. content:"";
  219. }
  220. /*-------------------------
  221. Header
  222. --------------------------*/
  223. #branding {
  224. text-align: left;
  225. position: relative;
  226. width: 100%;
  227. float: left;
  228. margin: 1em 0;
  229. text-shadow: 0 1px 0 #ffffff;
  230. }
  231. #branding a {
  232. text-decoration: none;
  233. color: #000000;
  234. }
  235. #branding p {
  236. margin: 0;
  237. font-style: italic;
  238. margin-top: 5px;
  239. }
  240. #branding h1, #branding h2 {
  241. font-size: 36px;
  242. font-family: Georgia, sans-serif;
  243. margin: 0;
  244. }
  245. /*-------------------------
  246. Menu
  247. --------------------------*/
  248. #menu-wrapper {
  249. float: left;
  250. width: 100%;
  251. position: relative;
  252. text-align: left;
  253. font-family: 'Source Sans', sans-serif;
  254. font-size: 15px;
  255. text-shadow: 0 1px 0 #ffffff;
  256. padding-bottom: 7px;
  257. }
  258. #menu {
  259. margin: 0 auto;
  260. padding: 0 15px;
  261. }
  262. #menu ul {
  263. list-style: none;
  264. margin: 0;
  265. padding: 0;
  266. }
  267. #menu ul li {
  268. padding: 0 10px;
  269. float: left;
  270. margin: 0;
  271. }
  272. #menu ul li.first {
  273. padding-left: 0;
  274. }
  275. #menu ul li.last {
  276. padding-right: 0;
  277. }
  278. #menu a {
  279. text-decoration: none;
  280. float: left;
  281. }
  282. #menu a:hover {
  283. text-decoration: underline;
  284. }
  285. #menu ul li.active > a {
  286. text-decoration: underline;
  287. }
  288. #menu ul li ul.subnav {
  289. display:none;
  290. }
  291. /*-------------------------
  292. Search
  293. --------------------------*/
  294. #search-form {
  295. float: right;
  296. }
  297. .error-404 .post #search-form,
  298. .error-404-search .post #search-form {
  299. float: none;
  300. }
  301. .search-input {
  302. border: 1px solid #E5E5E5;
  303. border-top-color: gainsboro;
  304. color: #666;
  305. display: inline-block;
  306. line-height: normal;
  307. height: 22px;
  308. padding: 0 3px;
  309. -moz-border-radius: 2px;
  310. -webkit-border-radius: 2px;
  311. border-radius: 2px;
  312. }
  313. .search-input:hover {
  314. border: 1px solid #b9b9b9;
  315. border-top: 1px solid #a0a0a0;
  316. box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1)
  317. }
  318. .search-input:focus {
  319. border: 1px solid rgb(77, 144, 254);
  320. box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3) inset;
  321. outline: medium none;
  322. }
  323. .search-button {
  324. background-color: #5e94ff;
  325. border: 1px solid #5e94ff;
  326. -moz-border-radius: 2px;
  327. -webkit-border-radius: 2px;
  328. border-radius: 2px;
  329. -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  330. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  331. box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  332. color: #fff;
  333. display: inline-block;
  334. font-family: "Source Sans", arial, sans-serif;
  335. font-size: 13px;
  336. font-weight: 600;
  337. line-height: 1.54;
  338. padding: 0;
  339. margin: 0;
  340. text-align: center;
  341. text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
  342. -moz-transition: all .218s ease-in;
  343. -webkit-transition: all .218s ease-in;
  344. transition: all .218s ease-in;
  345. cursor: pointer;
  346. height: 23px;
  347. padding: 0 3px;
  348. }
  349. /*-------------------------
  350. Content
  351. --------------------------*/
  352. #content {
  353. width: 700px;
  354. float: left;
  355. padding-right: 50px;
  356. }
  357. .breadcrumb {
  358. color: #999999;
  359. font-size: 15px;
  360. margin-bottom: 1em;
  361. font-family: 'Source Sans', sans-serif;
  362. }
  363. .breadcrumb a {
  364. color: #777777;
  365. border-bottom: 1px solid #DFDFDF;
  366. }
  367. .breadcrumb a:hover {
  368. border-bottom: 1px solid #D54E21;
  369. color: #D54E21;
  370. }
  371. .post {
  372. margin: 0 0 24px 0;
  373. overflow: hidden;
  374. border-bottom: 1px solid #DFDFDF;
  375. }
  376. .post a, .post-list a, .pager a, .postnav a {
  377. border-bottom: 1px solid #DFDFDF;
  378. }
  379. .post a:hover, .post-list a:hover, .pager a:hover, .postnav a:hover {
  380. border-bottom: 1px solid #D54E21;
  381. }
  382. .date {
  383. color: #999999;
  384. font-size: 13px;
  385. font-family: 'Source Sans', sans-serif;
  386. margin: 1em 0;
  387. }
  388. .date a {
  389. color: #777777;
  390. }
  391. .date a:hover {
  392. border-bottom: 1px solid #D54E21;
  393. color: #D54E21;
  394. }
  395. #main strong {
  396. color: #454545;
  397. }
  398. #main h1 a, #main h2 a {
  399. border: none;
  400. }
  401. .post.first .title-index {
  402. margin-top: 0;
  403. }
  404. .main {
  405. margin-bottom: 1.5em;
  406. }
  407. .in-post .post, .in-page .post, .in-subpage .post {
  408. border: none;
  409. }
  410. .title-post {
  411. margin-top: 0;
  412. }
  413. .border {
  414. border-top: 1px solid #DFDFDF;
  415. margin-bottom: 15px;
  416. margin-top: 10px;
  417. padding-bottom: 15px;
  418. width: 100%;
  419. float: left;
  420. }
  421. .profile {
  422. border-bottom: 1px solid #DFDFDF;
  423. }
  424. .post-list {
  425. font-size: 14px;
  426. border-bottom: 1px solid #DFDFDF;
  427. margin-bottom: 1em;
  428. padding-bottom: 1em;
  429. }
  430. /*-------------------------
  431. Share box
  432. --------------------------*/
  433. .separator {
  434. font-size: 20px;
  435. }
  436. .share-box {
  437. font-size: 14px;
  438. float: left;
  439. line-height: 1.5;
  440. }
  441. .author-info {
  442. width: 540px;
  443. float: left;
  444. }
  445. .share {
  446. width: 140px;
  447. margin-left: 1em;
  448. float: right;
  449. }
  450. .share a {
  451. display: inline-block;
  452. width: 18px;
  453. height: 18px;
  454. margin: 0;
  455. padding: 0 5px;
  456. vertical-align: middle;
  457. -o-transition: all .3s;
  458. -moz-transition: all .3s;
  459. -webkit-transition: all .3s;
  460. -ms-transition: all .3s;
  461. text-indent: -9999em;
  462. border: none;
  463. }
  464. .share a.twitter {
  465. background: url(../../../system/resources/images/share-twitter.png) left top no-repeat;
  466. }
  467. .share a.facebook {
  468. background: url(../../../system/resources/images/share-facebook.png) left top no-repeat;
  469. }
  470. .share a:hover {
  471. background-position: left -26px;
  472. border: none;
  473. }
  474. .related {
  475. font-size: 15px;
  476. line-height: 1.5;
  477. }
  478. .pager, .postnav {
  479. font-size: 15px;
  480. position:relative;
  481. }
  482. .pager {
  483. text-align:center;
  484. margin-bottom: 1em;
  485. }
  486. .pager .newer {
  487. position:absolute;
  488. left: 0;
  489. }
  490. .postnav .newer {
  491. float: left;
  492. }
  493. .pager .older {
  494. position:absolute;
  495. right:0;
  496. }
  497. .postnav .older {
  498. float: right;
  499. }
  500. .border .fb-comments, .border #disqus_thread {
  501. padding-top: 1.2em;
  502. }
  503. #disqus_thread {
  504. float: left;
  505. font-family: Georgia, Times, Cambria, serif;
  506. width: 100%;
  507. }
  508. /*-------------------------
  509. Sidebar
  510. --------------------------*/
  511. #sidebar {
  512. float: left;
  513. color: #5c5a54;
  514. height: 100%;
  515. width: 200px;
  516. font-size: 15px;
  517. line-height: 1.4;
  518. }
  519. #sidebar h2, #sidebar h3, #sidebar h4 {
  520. color: #000000;
  521. border-bottom: 1px solid #DFDFDF;
  522. margin: 0 0 1em 0;
  523. padding-bottom: 5px;
  524. }
  525. #sidebar ul {
  526. list-style: none;
  527. margin: 0;
  528. padding: 0;
  529. }
  530. #sidebar .archivegroup ul.month {
  531. margin: 0.25em 0 0.25em 1.3em;
  532. }
  533. #sidebar .archivegroup ul.month li {
  534. margin: 0;
  535. }
  536. .archivegroup li.expanded, .archivegroup li.collapsed {
  537. margin: 0;
  538. }
  539. .about, .social, .archive, .comments, .tagcloud, .recent, .popular, .category-list {
  540. margin-bottom: 2em;
  541. }
  542. #sidebar .recent ul, #sidebar .popular ul {
  543. margin: 0.25em 0 0.25em 1.3em;
  544. }
  545. #sidebar .recent li, #sidebar .popular li {
  546. list-style-type: circle;
  547. }
  548. /*-------------------------
  549. Copyright
  550. --------------------------*/
  551. #copyright-wrapper {
  552. margin: 20px 0 0 0;
  553. float: left;
  554. width: 100%;
  555. position: relative;
  556. font-size: 14px;
  557. line-height: 1.5;
  558. }
  559. #copyright {
  560. text-align: center;
  561. color: #909090;
  562. text-shadow: 0 1px 0 #ffffff;
  563. text-align: center;
  564. margin: 0 auto;
  565. padding: 0 15px;
  566. }
  567. #copyright p {
  568. margin: 0;
  569. }
  570. /*----------------------------
  571. The 404 page
  572. -----------------------------*/
  573. .message {
  574. padding: 50px 20px 20px 20px;
  575. }
  576. .message h1 {
  577. font-size: 36px;
  578. margin-bottom: 18px;
  579. }
  580. .message p {
  581. font-size: 13px;
  582. }
  583. .center {
  584. text-align: center;
  585. }
  586. .search-404 {
  587. position: relative;
  588. float: left;
  589. width: 100%;
  590. margin-bottom: 1.2em;
  591. }
  592. .search-404 #search-form {
  593. float: none;
  594. }
  595. /*-------------------------
  596. Table
  597. --------------------------*/
  598. table {
  599. font-size: 12px;
  600. border: none;
  601. width: 100%;
  602. color: #333333;
  603. border: 1px solid #E3E3E3;
  604. margin: 1em 0;
  605. white-space: pre-wrap;
  606. word-wrap: break-word;
  607. }
  608. table h2.title {
  609. margin: 5px 0;
  610. }
  611. th, td {
  612. padding: 5px 10px;
  613. border: none;
  614. }
  615. th.title {
  616. margin: 5px 0;
  617. font-family: 'Source Sans', sans-serif;
  618. font-size: 16px;
  619. font-weight: normal;
  620. }
  621. td.title {
  622. font-weight: normal;
  623. background-color: #f6f6f6;
  624. font-family: 'Source Sans', sans-serif;
  625. }
  626. th {
  627. background-color: #f6f6f6;
  628. border-bottom: 1px solid #E3E3E3;
  629. border-right: 1px solid #E3E3E3;
  630. font-family: 'Source Sans', sans-serif;
  631. font-size: 16px;
  632. }
  633. td {
  634. background-color: #fafafa;
  635. border: 1px solid #E3E3E3;
  636. border-top: none;
  637. border-left: none;
  638. }
  639. table.post-list td a {
  640. margin: 0 5px;
  641. }
  642. /*----------------------------
  643. Media queries
  644. -----------------------------*/
  645. @media all and (max-width: 1024px) {
  646. .responsive {
  647. width: 95%;
  648. }
  649. #content {
  650. width: 73%;
  651. padding-right: 5%;
  652. }
  653. .author-info {
  654. width: 68%;
  655. }
  656. .share {
  657. width: 28%;
  658. margin-left: 4%;
  659. }
  660. #sidebar {
  661. width: 22%;
  662. }
  663. }
  664. @media all and (max-width: 640px) {
  665. .responsive {
  666. width: 94%;
  667. }
  668. #content {
  669. width: 100%;
  670. padding-right: 0;
  671. }
  672. .author-info, .related, .share-box {
  673. width: 100%;
  674. }
  675. .share {
  676. width: 100%;
  677. margin-left: 0;
  678. margin-bottom: 1em;
  679. }
  680. #sidebar {
  681. width: 100%;
  682. }
  683. .tagcloud ul li {
  684. float: left;
  685. list-style: none outside none;
  686. margin-right: 10px;
  687. }
  688. .pager .newer, .postnav .newer {
  689. float: left;
  690. margin-bottom: 1em;
  691. }
  692. .pager .older, .postnav .older {
  693. float: left;
  694. margin-bottom: 1em;
  695. }
  696. #branding, #menu-wrapper {
  697. text-align: center;
  698. }
  699. #menu-wrapper ul {
  700. width: 100%;
  701. text-align: center;
  702. float: left;
  703. }
  704. #menu-wrapper ul li {
  705. float: none;
  706. display: inline-block;
  707. vertical-align: top;
  708. }
  709. #menu a {
  710. float: none;
  711. }
  712. #search-form {
  713. float: left;
  714. width: 100%;
  715. margin-bottom: 1em;
  716. }
  717. pre {
  718. white-space: pre-wrap;
  719. word-wrap: break-word;
  720. }
  721. }
  722. @media all and (max-width: 360px) {
  723. .responsive {
  724. width: 92%;
  725. }
  726. }
  727. @media all and (max-width: 320px) {
  728. .responsive {
  729. width: 90%;
  730. }
  731. }
  732. /*----------------------------
  733. Video
  734. -----------------------------*/
  735. .video-wrapper {
  736. margin: 1em 0;
  737. }
  738. @media all and (min-width: 420px) {
  739. .video-wrapper {
  740. padding-top: 315px !important;
  741. position: relative;
  742. width: 100%;
  743. max-width: 420px !important;
  744. max-height: 315px !important;
  745. }
  746. .video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
  747. height: 100%;
  748. left: 0;
  749. position: absolute;
  750. top: 0;
  751. max-width: 420px !important;
  752. width: 100%;
  753. max-height: 315px !important;
  754. }
  755. }
  756. @media all and (max-width: 420px) {
  757. .video-wrapper {
  758. position: relative;
  759. padding-bottom: 56.25%;
  760. padding-top: 30px;
  761. height: 0;
  762. overflow: hidden;
  763. }
  764. .video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
  765. height: 100%;
  766. left: 0;
  767. position: absolute;
  768. top: 0;
  769. width: 100%;
  770. }
  771. }
  772. @media all and (max-width: 560px) {
  773. .featured-video, .featured-audio {
  774. position: relative;
  775. padding-bottom: 56.25%;
  776. padding-top: 30px;
  777. height: 0;
  778. overflow: hidden;
  779. }
  780. .featured-video iframe, .featured-video object, .featured-video embed, .featured-audio iframe, .featured-audio object, .featured-audio embed {
  781. height: 100%;
  782. left: 0;
  783. position: absolute;
  784. top: 0;
  785. width: 100%;
  786. }
  787. }
  788. /*----------------------------
  789. Archive
  790. -----------------------------*/
  791. ul.archivegroup {
  792. padding: 0;
  793. margin: 0;
  794. }
  795. .archivegroup .expanded ul {
  796. display: block;
  797. }
  798. .archivegroup .collapsed ul {
  799. display: none;
  800. }
  801. .archivegroup li.expanded, .archivegroup li.collapsed {
  802. list-style: none;
  803. }
  804. #more {
  805. display:block;
  806. height:1rem;
  807. margin-top:-1rem;
  808. box-shadow: none;
  809. border: none;
  810. }