Advertisement
Codesbyneen

013. Layout - Rise Above II.

Jul 19th, 2017
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 15.78 KB | None | 0 0
  1. /* -----------------------------------
  2.    This is "Rise Above",
  3.    a Flexible Squares layout by neen
  4.    available at revolumna
  5.    ----------------------------------- */
  6.  
  7. /* [ FONTS ]
  8.    ----------------------------------- */
  9.  
  10. @font-face {
  11.     font-family: 'Open Sans';
  12.     font-style: normal;
  13.     font-weight: 400;
  14.     src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
  15. }
  16.  
  17. @font-face {
  18.     font-family: 'Open Sans';
  19.     font-style: normal;
  20.     font-weight: 600;
  21.     src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url(https://fonts.gstatic.com/s/opensans/v14/MTP_ySUJH_bn48VBG8sNSugdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
  22. }
  23.  
  24. @font-face {
  25.     font-family: 'Open Sans';
  26.     font-style: italic;
  27.     font-weight: 400;
  28.     src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v14/xjAJXh38I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2) format('woff2');
  29. }
  30.  
  31. /* [ GLOBAL ]
  32.    ----------------------------------- */
  33.  
  34. body {
  35.     background-color: #f9f9f9;
  36.     color: #555;
  37.     font-family: 'Open Sans', sans-serif;
  38.     font-size: 9px;
  39.     font-weight: 400;
  40. }
  41.  
  42. a,
  43. a:link,
  44. a:visited {
  45.     color: #aaa;
  46.     text-decoration: none;
  47.     -webkit-transition: color .5s ease-out;
  48.        -moz-transition: color .5s ease-out;
  49.          -o-transition: color .5s ease-out;
  50.             transition: color .5s ease-out;
  51. }
  52.  
  53. a:hover {
  54.     color: #555;
  55.     text-decoration: none;
  56. }
  57.  
  58. b,
  59. strong {
  60.     font-weight: 600;
  61. }
  62.  
  63. i,
  64. em {
  65.     font-style: italic;
  66.     font-weight: 400;
  67. }
  68.  
  69. #content {
  70.     margin: 80px auto 0;
  71.     width: 450px;
  72. }
  73.  
  74. #maincontent {
  75.     margin-top: 50px;
  76.     width: 450px;
  77. }
  78.  
  79. /* [ HEADER ]
  80.    ----------------------------------- */
  81.  
  82. #header {
  83.     background-image: url(http://i.imgur.com/46cyePC.png);
  84.     background-position: center 55%;
  85.     background-repeat: no-repeat;
  86.     background-size: 450px auto;
  87.     height: 225px;
  88.     margin: 0 auto;
  89.     width: 450px;
  90. }
  91.  
  92. .navheader,
  93. .title,
  94. .subtitle {
  95.     display: none;
  96. }
  97.  
  98. /* [ FOOTER ]
  99.    ----------------------------------- */
  100.  
  101. .lj-view-recent #footer,
  102. .lj-view-friends #footer {
  103.     margin: 0 0 0 auto;
  104.     padding: 0 0 25px;
  105.     text-align: center;
  106.     width: 450px;
  107. }
  108.  
  109. .navfooter {
  110.     padding: 0;
  111. }
  112.  
  113. .navfooter li {
  114.     background-color: #fff;
  115.     border: 1px solid #eee;
  116.     display: inline-block;
  117.     list-style-type: none;
  118.     margin-left: 10px;
  119.     margin-right: 10px;
  120.     padding: 10px;
  121.     text-transform: capitalize;
  122. }
  123.  
  124. #footer .viewing {
  125.     display: none;
  126. }
  127.  
  128. /* [ SIDEBAR ]
  129.    ----------------------------------- */
  130.  
  131. #sidebar {
  132.     background-color: #fff;
  133.     border: 1px solid #eee;
  134.     border-top: 0;
  135.     margin: 0 auto;
  136.     padding-bottom: 10px;
  137.     width: 449px;
  138. }
  139.  
  140. .sbarlist {
  141.     list-style: none;
  142.     margin: 0;
  143.     padding: 0;
  144. }
  145.  
  146. .sbartitle {
  147.     display: none;
  148. }
  149.  
  150. #sidebar_tags.sbarbody,
  151. #sidebar_calendar.sbarbody,
  152. #sidebar_summary.sbarbody {
  153.     display: none;
  154. }
  155.  
  156. /* [ default userpic ] ----- */
  157.  
  158. .defaultuserpic {
  159.     margin-left: 10px;
  160.     margin-top: -35px;
  161.     text-align: left;
  162. }
  163.  
  164. .defaultuserpic img {
  165.     border: 5px solid #fff;
  166.     height: 64px;
  167.     width: 64px;
  168. }
  169.  
  170. /* [ blurb ] ----- */
  171.  
  172. .sbarbody2 {
  173.     line-height: 2;
  174.     margin: 14px 15px 0;
  175. }
  176.  
  177. .sbarbody2 img {
  178.     max-width: 100%;
  179. }
  180.  
  181. /* [ link list ] ----- */
  182.  
  183. #sidebar_linklist.sbarbody {
  184.     counter-reset: link-counter;
  185.     margin-left: 98px;
  186.     margin-right: 10px;
  187.     margin-top: -31px;
  188.     text-align: left;
  189. }
  190.  
  191. #sidebar_linklist.sbarbody .sbaritem {
  192.     display: inline-block;
  193.     margin-right: 20px;
  194. }
  195.  
  196. #sidebar_linklist.sbarbody .sbaritem:last-of-type {
  197.     margin-right: 0;
  198. }
  199.  
  200. #sidebar_linklist.sbarbody .sbaritem:before {
  201.     content: "0" counter(link-counter, decimal-leading-zero) ".";
  202.     counter-increment: link-counter;
  203.     display: block;
  204.     font-size: 9px;
  205.     font-weight: 600;
  206.     letter-spacing: .5px;
  207. }
  208.  
  209. #sidebar_linklist.sbarbody .sbaritem a {
  210.     border-bottom: 0;
  211.     color: #555;
  212.     font-size: 9px;
  213.     letter-spacing: .5px;
  214.     line-height: 14px;
  215.     text-transform: uppercase;
  216. }
  217.  
  218. #sidebar_linklist.sbarbody .sbaritem a:hover {
  219.     color: #aaa;
  220. }
  221.  
  222. /* [ TAGS, TAGS PAGE ]
  223.    ----------------------------------- */
  224.  
  225. .ljtags {
  226.     border-top: 1px solid #eee;
  227.     font-size: 0;
  228.     margin: 12px -15px -5px;
  229.     padding: 15px 15px 3px;
  230.     text-align: left;
  231. }
  232.  
  233. .ljtags:before {
  234.     content: 'Filed Under:';
  235.     display: block;
  236.     font-size: 9px;
  237.     font-weight: 600;
  238. }
  239.  
  240. .ljtags a,
  241. .ljtags a:link,
  242. .ljtags a:visited {
  243.     border-bottom: 0;
  244.     font-size: 9px;
  245.     margin-right: 8px;
  246. }
  247.  
  248. .ljtags a:before {
  249.     content: '#';
  250.     font-weight: 400;
  251. }
  252.  
  253. .ljtags a:last-of-type {
  254.     margin-right: 0;
  255. }
  256.  
  257. h2 {
  258.     background-color: #fff;
  259.     border: 1px solid #eee;
  260.     border-bottom: 0;
  261.     color: #555;
  262.     font-size: 16px;
  263.     font-weight: 600;
  264.     letter-spacing: .25px;
  265.     margin-top: 0;
  266.     padding: 15px 15px 0;
  267.     text-align: left;
  268. }
  269.  
  270. .ljtaglist {
  271.     background-color: #fff;
  272.     border: 1px solid #eee;
  273.     border-top: 0;
  274.     margin: -13px 0 25px;
  275.     padding: 15px;
  276.     text-align: left;
  277. }
  278.  
  279. .ljtaglist li {
  280.     font-style: italic;
  281.     list-style-type: circle;
  282.     margin-bottom: 5px;
  283.     margin-left: 10px;
  284.     padding-left: 10px;
  285.     text-transform: lowercase;
  286. }
  287.  
  288. .ljtaglist li:last-of-type {
  289.     margin-bottom: 0;
  290. }
  291.  
  292. .ljtaglist li a {
  293.     font-style: normal;
  294. }
  295.  
  296. /* [ ENTRIES ]
  297.    ----------------------------------- */
  298.  
  299. .subcontent {
  300.     background-color: #fff;
  301.     border: 1px solid #eee;
  302. }
  303.  
  304. .entry_text {
  305.     line-height: 2;
  306.     margin: 0;
  307.     padding: 15px;
  308.     text-align: left;
  309. }
  310.  
  311. .entry ul {
  312.     list-style-type: circle;
  313. }
  314.  
  315. .entry ul,
  316. .entry ol {
  317.     margin: 0 0 0 20px;
  318.     padding: 0;
  319. }
  320.  
  321. .entry ul li,
  322. .entry ol li {
  323.     padding-left: 10px;
  324. }
  325.  
  326. .entry ul li:last-of-type,
  327. .entry ol li:last-of-type {
  328.     margin-bottom: 0;
  329. }
  330.  
  331. .entry ul > br,
  332. .entry ol > br {
  333.     display: none;
  334. }
  335.  
  336. blockquote {
  337.     border-left: 1px solid #eee;
  338.     margin: 0 20px;
  339.     padding-left: 10px;
  340. }
  341.  
  342. .entry_text p {
  343.     margin: 0;
  344. }
  345.  
  346. .entry_text img,
  347. .entry_text table {
  348.     max-width: 100% !important;
  349. }
  350.  
  351. /* [ USERPIC, USERPIC FRIENDS ]
  352.    ----------------------------------- */
  353.  
  354. .userpic,
  355. .userpicfriends {
  356.     background: transparent !important;
  357.     float: left;
  358.     font-size: 0;
  359.     margin: 15px -35px 15px 15px;
  360. }
  361.  
  362. .userpic img,
  363. .userpicfriends img {
  364.     background: transparent !important;
  365.     height: 24px;
  366.     position: absolute;
  367.     width: 24px;
  368. }
  369.  
  370. .userpicfriends a {
  371.     background: transparent !important;
  372.     border-bottom: 1px solid #eee;
  373.     color: #555;
  374.     font-size: 9px;
  375.     text-align: left;
  376.     text-decoration: none;
  377. }
  378.  
  379. .userpicfriends font {
  380.     color: #555 !important;
  381.     -webkit-transition: color .5s ease-out;
  382.        -moz-transition: color .5s ease-out;
  383.          -o-transition: color .5s ease-out;
  384.             transition: color .5s ease-out;
  385. }
  386.  
  387. .userpicfriends a:hover,
  388. .userpicfriends a:hover font {
  389.     color: #aaa !important;
  390. }
  391.  
  392. .userpicfriends a:first-of-type {
  393.     margin-left: 39px;
  394.     vertical-align: -16px;
  395. }
  396.  
  397. .userpicfriends a:nth-of-type(2) {
  398.     border-bottom: 0;
  399.     margin-left: 3px;
  400.     vertical-align: -16px;
  401. }
  402.  
  403. .userpicfriends a:nth-of-type(2):before {
  404.     content: '[';
  405. }
  406.  
  407. .userpicfriends a:nth-of-type(2):after {
  408.     content: ']';
  409. }
  410.  
  411. .userpicfriends br {
  412.     display: none;
  413. }
  414.  
  415. /* [ DATE, SUBJECT, CURRENTS ]
  416.    ----------------------------------- */
  417.  
  418. .date {
  419.     display: block;
  420.     padding-right: 15px;
  421.     padding-top: 21px;
  422.     text-align: right;
  423. }
  424.  
  425. .date a:hover {
  426.     text-decoration: none;
  427. }
  428.  
  429. .subject {
  430.     border-top: 1px solid #eee;
  431.     margin-top: 21px;
  432.     padding: 15px 15px 0;
  433. }
  434.  
  435. .subject,
  436. .subject a,
  437. .subject a:link,
  438. .subject a:visited {
  439.     color: #555;
  440.     font-size: 16px;
  441.     font-weight: 600;
  442.     letter-spacing: .25px;
  443.     text-align: left;
  444. }
  445.  
  446. .currents {
  447.     background-color: #f9f9f9;
  448.     margin: 0 15px 15px;
  449.     padding: 2px 5px 5px;
  450. }
  451.  
  452. .currents strong {
  453.     display: none;
  454. }
  455.  
  456. .currentmood,
  457. .currentmusic,
  458. .currentlocation {
  459.     padding-left: 16px;
  460.     padding-top: 4px;
  461.     text-align: left;
  462. }
  463.  
  464. .currentlocation a,
  465. .currentlocation a:link,
  466. .currentlocation a:visited,
  467. .currentlocation a:hover,
  468. .currentmusic a,
  469. .currentmusic a:link,
  470. .currentmusic a:visited,
  471. .currentmusic a:hover {
  472.     color: #555;
  473.     cursor: text;
  474.     font-size: 9px;
  475. }
  476.  
  477. .currentlocation {
  478.     background: url(http://i.imgur.com/e20fF22.gif) 2px 5px no-repeat;
  479. }
  480.  
  481. .currentmood {
  482.     background: url(http://i.imgur.com/zeF9gtJ.gif) 2px 5px no-repeat;
  483. }
  484.  
  485. .currentmusic {
  486.     background: url(http://i.imgur.com/4HwFdKI.gif) 2px 6px no-repeat;
  487. }
  488.  
  489. .meta-mood-img {
  490.     display: none;
  491. }
  492.  
  493. /* [ RECENT POSTS ]
  494.    ----------------------------------- */
  495.  
  496. .entry--threeposts {
  497.     background-color: #fff;
  498.     border: 1px solid #eee;
  499.     margin-left: 0 !important;
  500.     padding: 0 15px;
  501. }
  502.  
  503. .threeposts__item {
  504.     margin-bottom: 0;
  505.     padding-left: 0 !important;
  506.     text-align: justify;
  507. }
  508.  
  509. .threeposts__items {
  510.     margin-left: 0 !important;
  511. }
  512.  
  513. .threeposts__header {
  514.     color: #555;
  515.     font-size: 16px;
  516.     font-weight: 600;
  517.     letter-spacing: .25px;
  518.     margin: 15px 0;
  519.     padding: 0;
  520.     text-align: center;
  521.     text-transform: capitalize;
  522. }
  523.  
  524. .threeposts__item:after {
  525.     opacity: 0;
  526. }
  527.  
  528. /* [ COMMENTS, COMMENTS PAGE ]
  529.    ----------------------------------- */
  530.  
  531. .comments {
  532.     border-top: 1px solid #eee;
  533.     font-size: 0;
  534.     padding: 10px 15px;
  535.     text-align: center;
  536. }
  537.  
  538. .comments a,
  539. .comments a:link,
  540. .comments a:visited {
  541.     border-bottom: 1px solid #eee;
  542.     color: #555;
  543.     font-size: 9px;
  544.     -webkit-transition: color .5s ease-out;
  545.        -moz-transition: color .5s ease-out;
  546.          -o-transition: color .5s ease-out;
  547.             transition: color .5s ease-out;
  548. }
  549.  
  550. .comments a:hover {
  551.     color: #aaa;
  552. }
  553.  
  554. .comments a:first-of-type:not(:only-of-type) {
  555.     margin-right: 10px;
  556. }
  557.  
  558. .datesubjectcomment {
  559.     color: #aaa;
  560.     font-style: italic;
  561. }
  562.  
  563. .datesubjectcomment strong {
  564.     font-style: normal;
  565.     font-weight: 600;
  566.     letter-spacing: .25px;
  567. }
  568.  
  569. .datesubjectcomment strong + br {
  570.     display: none;
  571. }
  572.  
  573. .userpiccomment {
  574.     float: left;
  575.     height: 40px;
  576.     margin-right: 10px;
  577.     position: relative;
  578.     width: 40px;
  579. }
  580.  
  581. .commentreply {
  582.     margin-top: 10px;
  583.     line-height: 1.75;
  584. }
  585.  
  586. .commentbox,
  587. .commentboxpartial {
  588.     background-color: #fff;
  589.     border: 1px solid #eee;
  590.     margin: 0 0 15px;
  591.     padding: 10px;
  592. }
  593.  
  594. center.comment-links {
  595.     margin: 0 0 15px !important;
  596. }
  597.  
  598. .comment-links div {
  599.     padding: 0 !important;
  600. }
  601.  
  602. #subject.textbox.textbox-subject {
  603.     border: 1px solid #eee;
  604.     margin-right: 5px;
  605.     width: 80% !important;
  606. }
  607.  
  608. textarea.textbox {
  609.     border: 1px solid #eee;
  610.     width: 95% !important;
  611. }
  612.  
  613. input,
  614. textarea,
  615. select {
  616.     border: 1px solid #eee;
  617.     color: #000;
  618.     font-family: 'Courier New', monospace;
  619.     font-size: 8pt;
  620.     padding: 3px;
  621. }
  622.  
  623. #submitpost.commentform-button-submit,
  624. #submitmoreopts.commentform-button-opts,
  625. #postform-submit-comment-button.commentform-button-submit,
  626. .commentform-button.commentform-button-preview,
  627. .b-postform-quote {
  628.     background-color: #fff;
  629.     border: 1px solid #eee;
  630.     color: #555;
  631.     font-family: 'Open Sans', sans-serif;
  632.     font-size: 9px;
  633.     font-weight: 600;
  634.     padding: 3px;
  635. }
  636.  
  637. .commentform {
  638.     font-size: 9px !important;
  639.     margin-bottom: 0;
  640.     margin-top: 15px;
  641. }
  642.  
  643. .commentform-table {
  644.     background-color: #fff;
  645.     border: 1px solid #eee;
  646.     padding: 13px 12px 2px 13px;
  647. }
  648.  
  649. .commentform-title.commentform-login-title,
  650. .commentform-title.commentform-subject-title,
  651. .commentform-title.commentform-msg-title {
  652.     font-weight: 600;
  653. }
  654.  
  655. .commentform-alert-wrapper {
  656.     font-size: 8pt;
  657.     text-align: left;
  658. }
  659.  
  660. .commentform-options {
  661.     width: 80% !important;
  662. }
  663.  
  664. .replytoposter {
  665.     margin-left: 40px;
  666.     padding: 21px 10px 15px;
  667. }
  668.  
  669. .replytosubject {
  670.     font-size: 10px;
  671.     font-style: normal;
  672.     font-weight: 600;
  673.     letter-spacing: .25px;
  674.     margin-bottom: 5px;
  675.     margin-top: 6px;
  676. }
  677.  
  678. /* [ ARCHIVE ]
  679.    ----------------------------------- */
  680.  
  681. .year {
  682.     background-color: #fff;
  683.     border: 1px solid #eee;
  684.     margin-bottom: 15px;
  685.     padding: 5px;
  686.     text-align: center;
  687. }
  688.  
  689. .year li {
  690.     border-left: 1px solid #eee;
  691.     display: inline-block;
  692.     list-style-type: none;
  693.     padding: 0 10px;
  694.     text-transform: capitalize;
  695. }
  696.  
  697. .year li:first-of-type {
  698.     border-left: 0;
  699.     margin-left: 0;
  700.     padding-left: 0;
  701. }
  702.  
  703. .year li:last-of-type {
  704.     padding-right: 0;
  705. }
  706.  
  707. .yeartable {
  708.     background-color: #fff;
  709.     border: 1px solid #eee;
  710.     margin-bottom: 25px;
  711.     padding: 13px;
  712.     text-align: center;
  713. }
  714.  
  715. .yeartable ~ br {
  716.     display: none;
  717. }
  718.  
  719. .yeartable .yeardate {
  720.     border: 1px solid #eee;
  721.     padding: 15px 8px 0;
  722.     text-align: center;
  723. }
  724.  
  725. .yeartable div {
  726.     text-align: center !important;
  727. }
  728.  
  729. .yeartable .yearday {
  730.     background-color: #f9f9f9;
  731.     font-size: 10px;
  732.     padding: 10px;
  733.     text-align: center;
  734.     text-transform: uppercase;
  735. }
  736.  
  737. .yearmonth:first-of-type {
  738.     border-bottom: 0;
  739.     color: #555;
  740.     font-size: 12px;
  741.     font-weight: 600;
  742.     letter-spacing: .25px;
  743.     text-align: left;
  744. }
  745.  
  746. dl {
  747.     margin: 15px;
  748. }
  749.  
  750. dd {
  751.     border-bottom: 1px solid #eee;
  752.     font-style: italic;
  753.     margin-bottom: 10px;
  754.     padding: 5px 0;
  755.     text-align: left;
  756.     text-transform: lowercase;
  757. }
  758.  
  759. dd a {
  760.     font-style: normal;
  761.     text-transform: none;
  762. }
  763.  
  764. dt a,
  765. dt a:link,
  766. dt a:visited,
  767. dt a:hover {
  768.     color: #555;
  769.     font-size: 14px;
  770.     font-weight: 600;
  771.     letter-spacing: .25px;
  772.     text-align: left;
  773. }
  774.  
  775. /* [ TINY ICONS ]
  776.    ----------------------------------- */
  777.  
  778. span.i-ljuser img[src*="img/userinfo_v8.svg"] {
  779.     background: transparent url(http://i.imgur.com/VTomZuh.gif) no-repeat !important;
  780.     height: 0 !important;
  781.     padding: 12.5px 0 0 9.5px !important;
  782.     width: 0 !important;
  783. }
  784.  
  785. span.i-ljuser img[src*="img/community.gif"] {
  786.     background: transparent url(http://i.imgur.com/egYSa3B.gif) no-repeat !important;
  787.     height: 0 !important;
  788.     padding: 12.5px 0 0 10px !important;
  789.     width: 0 !important;
  790. }
  791.  
  792. img[src*="img/icon_protected.gif"] {
  793.     background: transparent url(http://i.imgur.com/BxPcfTk.gif) no-repeat 1px 1px !important;
  794.     height: 0 !important;
  795.     padding: 11px 0 0 11px !important;
  796.     width: 0 !important;
  797. }
  798.  
  799. img[src*="icon_private.gif"] {
  800.     background: transparent url(http://i.imgur.com/m910vvm.gif) no-repeat 1px 1px !important;
  801.     height: 0 !important;
  802.     padding: 11px 0 0 10px !important;
  803.     width: 0 !important;
  804. }
  805.  
  806. img[src*="img/icon_sticky.png"] {
  807.     background: transparent url(http://i.imgur.com/ISNKUp3.gif) no-repeat 1px 1px !important;
  808.     height: 0 !important;
  809.     padding: 11px 0 0 11px !important;
  810.     width: 0 !important;
  811. }
  812.  
  813. /* [ MISC ]
  814.    ----------------------------------- */
  815.  
  816. .clear {
  817.     display: none;
  818. }
  819.  
  820. .clearfoot {
  821.     clear: both;
  822.     height: 0;
  823. }
  824.  
  825. .separator {
  826.     height: 50px;
  827. }
  828.  
  829. .skiplinks {
  830.     background-color: #fff;
  831.     border: 1px solid #eee;
  832.     font-size: 0;
  833.     margin-bottom: 15px;
  834.     padding: 5px;
  835.     text-align: center;
  836. }
  837.  
  838. .skiplinks a {
  839.     border-left: 1px solid #eee;
  840.     font-size: 9px;
  841.     padding: 0 10px;
  842.     text-transform: capitalize;
  843. }
  844.  
  845. .skiplinks a:first-of-type {
  846.     border-left: 0;
  847.     margin-left: 0;
  848.     padding-left: 0;
  849. }
  850.  
  851. .skiplinks a:last-of-type {
  852.     padding-right: 0;
  853. }
  854.  
  855. br {
  856.     line-height: 15px;
  857. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement