Advertisement
Guest User

Design - Santababy - CSS

a guest
Nov 19th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.46 KB | None | 0 0
  1. /**DESIGNET ER LAGET AV GRATISDESIGNET.BLOGG.NO**/
  2. @import url('https://fonts.googleapis.com/css?family=Dekko');
  3. @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,700,700italic|Open+Sans:300,300italic,400,400italic,700,700italic);
  4. @import url('https://fonts.googleapis.com/css?family=Averia+Libre');
  5. @import url('https://fonts.googleapis.com/css?family=Mr+De+Haviland');
  6. html {
  7. width: 100%;
  8. overflow-x: hidden;
  9. overflow: none;
  10. }
  11. textarea#comment_text {
  12. background: #f6f6f6!important;
  13. }
  14. input#comment_submit {
  15. background: #f9f9f9!important;
  16. font-size: 13px!important;
  17. }
  18. #comments a img.avatar, #comments img.avatar {
  19. border: 0;
  20. float: left;
  21. margin-right: 15px;
  22. border-radius: 50%;
  23. }
  24. #comments .content {
  25. font-size: 16px;
  26. line-height: 1.4;
  27. }
  28. textarea#comment_text {
  29. border: none!important;
  30. outline: none!important;
  31. }
  32. input, textarea {
  33. max-width: 100% !important;
  34. -webkit-box-sizing: border-box!important;
  35. -moz-box-sizing: border-box!important;
  36. box-sizing: border-box!important;
  37. background: none!important;
  38. border: none!important;
  39. border-bottom: solid 1px #ddd!important;
  40. font-size: 15px!important;
  41. padding: 1em!important;
  42. }
  43. div#copyright {
  44. text-align: center;
  45. background: rgb(247, 247, 247);
  46. padding: 2em;
  47. font-size: 17px;
  48. color: #cfcfcf;
  49. margin-top: 4em;
  50. }
  51. a#copya {
  52. font-weight: 400;
  53. color: #727172;
  54. }
  55. a#copya:hover {
  56. font-weight: 400;
  57. color: #000;
  58. }
  59. .blog-entry .fb-like, .blog-entry .fblike {
  60. margin-bottom: 15px;
  61. margin-bottom: 5em!important;
  62. }
  63. a#comments-r {
  64. float: right;
  65. margin-top: -6em;
  66. color: #d41716;
  67. font-size: 14px;
  68. border-bottom: solid 2px #d41716;
  69. }
  70. h2#cato {
  71. background: #ffffff;
  72. border: double 4px #d41716;
  73. padding: 4px;
  74. position: relative;
  75. width: 100%;
  76. top: 11em;
  77. text-transform: uppercase;
  78. font-size: 20px;
  79. }
  80. div#bilde {
  81. opacity: 0.7;
  82. z-index: 3333;
  83. }
  84. div#bilde:hover {
  85. opacity: 0.9;
  86. z-index: 3333;
  87. }
  88. .row {
  89. padding: 3em;
  90. }
  91. h1#logo {
  92. font-family: 'Mr De Haviland', cursive;
  93. font-size: 8em;
  94. margin-top: 30px;
  95. color: #d41716;
  96. }
  97. i.fa.fa-heart {
  98. color: #d6d6d6;
  99. margin-right: 6px;
  100. }
  101. i.fa.fa-heart:hover {
  102. color: #d41716;
  103. margin-right: 6px;
  104. }
  105. button#show-more-entries:hover {
  106. border: double 4px #ddd;
  107. }
  108. button#show-more-entries {
  109. border: double 4px #ddd;
  110. text-transform: uppercase;
  111. color: #8e8e8e;
  112. font-size: 12px;
  113. }
  114. img#profileimg {
  115. border: double 4px #dddddd;
  116. padding: 8px;
  117. border-radius: 50%;
  118. margin-bottom: 2em;
  119. width: 8em;
  120. margin-top: -4em;
  121. margin-bottom: -2em;
  122. position: relative;
  123. z-index: 3;
  124. background: #fff;
  125. top: 7em;
  126. }
  127. div#botinsta {
  128. margin-top: 2em;
  129. border-top: double 4px #d41716;
  130. padding: 4px;
  131. border-bottom: double 4px #d41716;
  132. }
  133. .content img {
  134. width: 100%;
  135. border: double 4px #d41716;
  136. padding: 4px;
  137. }
  138. #na123 {
  139. clear: both;
  140. background: #f3f5f4;
  141. margin-top: 2em;
  142. margin-bottom: 2em;
  143. padding-top: 3em;
  144. padding-bottom: 3em;
  145. }
  146. a#cato {
  147. background: #d41716;
  148. padding-left: 10px;
  149. padding-right: 10px;
  150. padding-top: 5px;
  151. padding-bottom: 5px;
  152. color: #ffffff;
  153. text-transform: uppercase;
  154. font-size: 12px;
  155. position: relative;
  156. top: 5px;
  157. font-weight: 900;
  158. }
  159. body {
  160. background-color: #ffffff;
  161. font-size: 13px;
  162. line-height: 1.5;
  163. font-family: 'Open Sans', sans-serif;
  164. font-weight: 400;
  165. text-align: center;
  166. color: #222222;
  167. margin: 0;
  168. }
  169. * {
  170. -webkit-box-sizing: border-box;
  171. -moz-box-sizing: border-box;
  172. box-sizing: border-box;
  173. }
  174. p, ul, h1, h2, h3, h4, h5, h6 {
  175. margin: 0;
  176. padding: 0;
  177. }
  178. h1, h1 a,
  179. h2, h2 a,
  180. h3, h3 a,
  181. h4, h4 a,
  182. h5, h5 a {
  183. font-family: 'Open Sans', sans-serif;
  184. font-weight: 300;
  185. text-align: center;
  186. color: #444444;
  187. margin-bottom: 10px;
  188. }
  189. a:hover {
  190. text-decoration: none;
  191. }
  192. a{
  193. text-decoration: none;
  194. }
  195. a, li {
  196. -webkit-transition: color 0.3s, background 0.3s;
  197. -moz-transition: color 0.3s, background 0.3s;
  198. -ms-transition: color 0.3s, background 0.3s;
  199. -o-transition: color 0.3s, background 0.3s;
  200. transition: color 0.3s, background 0.3s;
  201. }
  202. h1 {
  203. font-size: 40px;
  204. }
  205. h2 {
  206. font-size: 34px;
  207. }
  208. h3 {
  209. font-size: 24px;
  210. }
  211. h4 {
  212. font-size: 22px;
  213. }
  214. img, iframe {
  215. max-width: 100%;
  216. }
  217. a > img {
  218. border: 0;
  219. }
  220. input, textarea, select {
  221. padding: 3px 10px;
  222. background: #f7f7f7;
  223. border: 1px solid #ccc;
  224. outline: none;
  225. font-family: inherit;
  226. }
  227. button {
  228. padding: 10px 30px;
  229. }
  230. .pad {
  231. padding: 15px 30px;
  232. }
  233. .pad-double {
  234. padding: 45px 60px;
  235. }
  236. .pad-top {
  237. padding-top:20px;
  238. }
  239. .marg-top-bottom {
  240. margin: 0px 0;
  241. }
  242. p {
  243. margin-bottom: 20px;
  244. line-height: 2.2;
  245. text-align: justify;
  246. }
  247. .max {
  248. max-width: 1200px;
  249. margin-left: auto;
  250. margin-right: auto;
  251. }
  252. .read-max > * {
  253. max-width: 800px;
  254. margin-left: auto;
  255. margin-right: auto;
  256. }
  257. .color-1 {
  258. background: #ffffff;
  259. }
  260. .color-2 {
  261. background: #333;
  262. }
  263. .mobile-only {
  264. display: block;
  265. }
  266. #tpbnr *,
  267. .bno_adboard * {
  268. margin: auto !important;
  269. text-align: center !important;
  270. max-width: 100% !important;
  271. }
  272. #top-menu,
  273. #footer,
  274. #sidebar {
  275. font-size: 11.05px;
  276. }
  277. #top-widgets,
  278. #bottom-widgets {
  279. text-align: center;
  280. }
  281. #top-widgets {
  282. max-width: 100%;
  283. }
  284. .parallax {
  285. height: auto;
  286. overflow: hidden;
  287. max-width: 100%;
  288. margin: auto;
  289. margin-top: -4px;
  290. }
  291. #header {
  292. height: 200px;
  293. background: #d41716;
  294. }
  295. #top-title {
  296. display: none;
  297. }
  298. #top-title h1 {
  299. display: none;
  300. }
  301. #top-title p {
  302. display: none;
  303. }
  304. #top-title h1,
  305. #top-title p {
  306. text-align: center;
  307. }
  308. #top-menu {
  309. position: absolute;
  310. z-index: 333333;
  311. padding: 10px 0;
  312. width: 100%;
  313. text-align: center;
  314. top: 0;
  315. padding: 2em;
  316. margin: auto;
  317. max-width: 100%;
  318. display: block;
  319. border: 1px solid #f1f1f1;
  320. border-top: solid 4px #d41716;
  321. background: #fbfbfb;
  322. }
  323. #mobile-menu-icon {
  324. border: 0;
  325. outline: 0;
  326. cursor: pointer;
  327. background: url(https://i.imgur.com/bBtcYwg.png) center no-repeat;
  328. background-size: contain;
  329. width: 100%;
  330. color: transparent;
  331. font-size: 0;
  332. height: 50px;
  333. }
  334. #top-menu > ul {
  335. width: 100%;
  336. display: none;
  337. }
  338. #top-menu > ul > li {
  339. display: block;
  340. vertical-align: top;
  341. padding: 5px;
  342. margin-top: 5px;
  343. text-align: -webkit-auto;
  344. position: relative;
  345. background: rgba(255,255,255,0.05);
  346. }
  347. #top-menu > ul > li > a, #top-menu > ul > li > span {
  348. cursor: pointer;
  349. color: #b9b9b9;
  350. text-transform: uppercase;
  351. font-family: sans-serif;
  352. font-size: 10.05px;
  353. letter-spacing: 4px;
  354. border-bottom: dotted 1px #F5F5F9;
  355. padding-bottom: 5px;
  356. }
  357. #top-menu > ul > li > a, #top-menu > ul > li > span:hover {
  358. cursor: pointer;
  359. color: #000000;
  360. text-transform: uppercase;
  361. font-family: sans-serif;
  362. font-size: 10.05px;
  363. letter-spacing: 4px;
  364. border-bottom: dotted 1px #F5F5F9;
  365. padding-bottom: 5px;
  366. }
  367. li a {
  368. color: #b9b9b9!important;
  369. }
  370. li a:hover {
  371. color: #000000!important;
  372. }
  373. #top-menu > ul > li > ul {
  374. z-index: 999;
  375. position: absolute;
  376. opacity: 0;
  377. pointer-events: none;
  378. -webkit-transform: translateY(20px);
  379. -moz-transform: translateY(20px);
  380. -ms-transform: translateY(20px);
  381. -o-transform: translateY(20px);
  382. transform: translateY(20px);
  383. text-align: center;
  384. top: calc(100% + 10px);
  385. left: 0;
  386. padding: 10px 0;
  387. background: #fff;
  388. width: 100%;
  389. list-style: none;
  390. box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  391. -webkit-transition: transform 0.2s, opacity 0.2s;
  392. -moz-transition: transform 0.2s, opacity 0.2s;
  393. -ms-transition: transform 0.2s, opacity 0.2s;
  394. -o-transition: transform 0.2s, opacity 0.2s;
  395. transition: transform 0.2s, opacity 0.2s;
  396. }
  397. #top-menu > ul > li.visible-child > ul {
  398. opacity: 1;
  399. -webkit-transform: translateY(0);
  400. -moz-transform: translateY(0);
  401. -ms-transform: translateY(0);
  402. -o-transform: translateY(0);
  403. transform: translateY(0);;
  404. pointer-events: initial;
  405. }
  406. #top-menu > ul > li > ul > li {
  407. padding: 5px 20px;
  408. }
  409. #top-menu > ul > li > ul > li:hover {
  410. background: #eee;
  411. }
  412. .stick #top-menu {
  413. position: fixed;
  414. top: 0;
  415. left: 0;
  416. width: 100%;
  417. max-width: 100%;
  418. z-index: 9999;
  419. border-top: solid 4px #d41716;
  420. }
  421. #main, #sidebar {
  422. display: block;
  423. background: #fff;
  424. margin-bottom: 0px;
  425. }
  426. .blog-entry > .content {
  427. text-align: left;
  428. }
  429. .blog-entry > header {
  430. padding: 34px 0;
  431. position: relative;
  432. }
  433. .blog-entry header h2 {
  434. margin-bottom: 5px;
  435. }
  436. .blog-entry .header-info {
  437. text-align: center;
  438. }
  439. .blog-entry .fb-like,
  440. .blog-entry .fblike {
  441. margin-bottom: 15px;
  442. }
  443. .blog-entry .bottom-meta {
  444. text-align: center;
  445. border: 1px solid rgba(0,0,0,0.05);
  446. padding: 5px 10px;
  447. background: #ffffff;
  448. color: #222222;
  449. display: none;
  450. }
  451. .blog-entry .header-info li, .blog-entry .bottom-meta li {
  452. list-style: none;
  453. display: inline-block;
  454. margin: 0 5px;
  455. font-size: 11.05px;
  456. letter-spacing: 4px;
  457. border-bottom: dotted 1px #F5F5F9;
  458. padding-bottom: 5px;
  459. }
  460. #sidebar > div, .blog-entry, .bno_adboard {
  461. margin-bottom: 0px !important;
  462. margin-top: -29px;
  463. }
  464. #hidden-entries {
  465. padding: 30px 0;
  466. }
  467. #sidebar img {
  468. margin-bottom: 15px;
  469. }
  470. #sidebar ul {
  471. list-style: none;
  472. }
  473. #sidebar > div > ul > li {
  474. line-height: 2.2;
  475. border-bottom: 1px solid #eee;
  476. }
  477. #sidebar .searchfield {
  478. margin: auto;
  479. text-align: center;
  480. }
  481. #sidebar .searchfield input {
  482. border: 0;
  483. width: calc(100% - 35px);
  484. margin: 0;
  485. }
  486. #sidebar .searchfield input[type="submit"] {
  487. background: #6c321e url('http://imagizer.imageshack.us/a/img911/3692/GtpWvt.png') no-repeat;
  488. background-position: center;
  489. background-size: 50%;
  490. color: transparent;
  491. cursor: pointer;
  492. width: 30px;
  493. }
  494. @media(min-width: 779px) {
  495. .column {
  496. float: left;
  497. padding: 10px;
  498. height: 300px;
  499. }
  500. #main {
  501. float: none;
  502. margin: 0 auto;
  503. width: 80%;
  504. }
  505. #sidebar {
  506. display: none; width: calc(100% - 80% - 0px);
  507. }
  508. .mobile-only {
  509. display: none;
  510. }
  511. #top-menu > ul {
  512. display: block;
  513. }
  514. #top-menu > ul > li {
  515. padding: 0 15px;
  516. margin: 0;
  517. display: inline-block;
  518. background: transparent;
  519. }
  520. #top-menu > ul > li > ul {
  521. width: 300px;
  522. text-align: center;
  523. }
  524. .parallax {
  525. height: 0px;
  526. }
  527. #header {
  528. height: auto;
  529. }
  530. }
  531. #wrap:after {
  532. content: '';
  533. display: block;
  534. clear:both;
  535. }
  536. #footer-wrap {
  537. background: #ffffff;
  538. padding-bottom: calc(30px + 30px);
  539. margin-bottom: -30px;
  540. text-align: center;
  541. font-size: 10.4px;
  542. color: #333;
  543. }
  544. #footer-wrap > footer {
  545. margin-left: auto;
  546. margin-right: auto;
  547. margin-bottom: 20px;
  548. color: #333;
  549. }
  550. #footer-wrap a {
  551. color: #222;
  552. }
  553. /* ##############
  554. ## Comments
  555. ############### */
  556. #comments, #newcomment {
  557. margin: auto;
  558. text-align: left;
  559. padding: 45px 0;
  560. }
  561. #comments h3, #newcomment h3 {
  562. padding: 10px 0;
  563. border-bottom: 1px solid rgba(0,0,0,0.03);
  564. }
  565. #newcomment {
  566. max-width: 568px;
  567. }
  568. #newcomment input, #newcomment textarea, #newcomment input#comment_authorurl {
  569. width: 100%;
  570. }
  571. #newcomment #comment_author_wrapper, #newcomment #comment_authoremail_wrapper, #newcomment #comment_submit_wrapper, #newcomment #comment_remember_wrapper {
  572. width: 48.75%;
  573. margin-right: 0.5%;
  574. float: left;
  575. }
  576. #newcomment #comment_authoremail_wrapper {
  577. margin-right: 0;
  578. float: right;
  579. }
  580. #commentform > div {
  581. margin: 10px 0;
  582. }
  583. input, textarea {
  584. max-width: 100% !important;
  585. -webkit-box-sizing: border-box;
  586. -moz-box-sizing: border-box;
  587. box-sizing: border-box;
  588. }
  589. input#comment_remember {
  590. width: auto;
  591. }
  592. #comments h4, #comments p {
  593. text-align: left;
  594. margin-bottom: 5px;
  595. min-height: 20px;
  596. }
  597. #comments .meta p {
  598. font-size: 12px;
  599. }
  600. #comments .content {
  601. font-size: 90%;
  602. line-height: 1.4;
  603. }
  604. .entry #comments .meta {
  605. border: 0;
  606. }
  607. #comments a img.avatar, #comments img.avatar {
  608. border: 0;
  609. float: left;
  610. margin-right: 15px;
  611. border-radius: 100%;
  612. }
  613. #comments .meta, #comments .content {
  614. display: block;
  615. }
  616. #comments .meta {
  617. width: auto;
  618. }
  619. #comments .user, #comments .other, #comments .owner, #comments .reply {
  620. border: 0px;
  621. background: transparent;
  622. margin: 40px 0;
  623. position: relative;
  624. }
  625. #comments .reply {
  626. margin-top: -10px;
  627. margin-left: 15%;
  628. }
  629. #comments .reply:before {
  630. content: ' ';
  631. width: 20px;
  632. height: 35px;
  633. background: url('http://imageshack.com/a/img922/9444/DawRhW.png') center no-repeat;
  634. background-size: contain;
  635. position: absolute;
  636. right: calc(100% + 15px);
  637. top: 0;
  638. }
  639. .comment .content {
  640. margin-top: 20px;
  641. width: auto;
  642. padding: 25px;
  643. background: #f7f7f7;
  644. position: relative;
  645. }
  646. .comment .content:before {
  647. content: ' ';
  648. position: absolute;
  649. width: 0;
  650. height: 0;
  651. top: -15px;
  652. left: calc(3%);
  653. border-left: 10px solid transparent;
  654. border-bottom: 15px solid #f7f7f7;
  655. border-right: 10px solid transparent;
  656. }
  657. #comment_remember_wrapper {
  658. text-align: right;
  659. }
  660. 0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  661. 50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  662. 100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
  663. }
  664. @-ms-keyframes snow {
  665. 0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  666. 50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  667. 100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
  668. }
  669. /* Create three equal columns that floats next to each other */
  670. .column {
  671. float: left;
  672. width: 33.33%;
  673. border: solid 24px #fff;
  674. }
  675. /* Clear floats after the columns */
  676. .row:after {
  677. content: "";
  678. display: table;
  679. clear: both;
  680. }
  681. @media(max-width: 800px) {
  682. .column {
  683. float: left;
  684. width: 33.33%;
  685. padding: 10px;
  686. display: none;
  687. }
  688. #snow{
  689. display:none;
  690. }
  691. #main, #sidebar {
  692. display: block;
  693. background: #fff;
  694. margin-bottom: 0px;
  695. margin-top: 4em!important;
  696. }
  697. h2 {
  698. font-size: 27px;
  699. }
  700. div#botinsta {
  701. margin-top: 2em;
  702. border-top: double 4px #d41716;
  703. padding: 4px;
  704. border-bottom: double 4px #d41716;
  705. width: 100%;
  706. }
  707. }
  708. #snow{
  709. background: none;
  710. font-family: Androgyne;
  711. background-image: url('http://www.wearewebstars.dk/codepen/img/s1.png'), url('http://www.wearewebstars.dk/codepen/img//s2.png'), url('http://www.wearewebstars.dk/codepen/img//s3.png');
  712. height: 600px;
  713. left: 0;
  714. position: absolute;
  715. top: 0;
  716. width: 100%;
  717. z-index:1;
  718. -webkit-animation: snow 10s linear infinite;
  719. -moz-animation: snow 10s linear infinite;
  720. -ms-animation: snow 10s linear infinite;
  721. animation: snow 10s linear infinite;
  722. }
  723. @keyframes snow {
  724. 0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  725. 50% {background-position: 900px 900px, 100px 200px, -100px 150px;}
  726. 100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
  727. }
  728. @-moz-keyframes snow {
  729. 0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  730. 50% {background-position: 900px 900px, 100px 200px, -100px 150px;}
  731. 100% {background-position: 400px 1000px, 200px 400px, 100px 300px;}
  732. }
  733. @-webkit-keyframes snow {
  734. 0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  735. 50% {background-position: 900px 900px, 100px 200px, -100px 150px;}
  736. 100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
  737. }
  738. @-ms-keyframes snow {
  739. 0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  740. 50% {background-position: 900px 900px, 100px 200px, -100px 150px;}
  741. 100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
  742. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement