Advertisement
silbrigthemes

Entwurf (Page 27)

Mar 7th, 2020
1,412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.48 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <!--
  5.  
  6. ENTWURF
  7. Page #27 by silbrigthemes
  8.  
  9. Entwurf is a responsive WIP page, which can also be used to showcase books that you are currently reading.
  10.  
  11. ----------
  12.  
  13. Rules:
  14.  
  15. 1) Do not use as base code.
  16. 2) Do not customize beyond recognition.
  17. 3) Do not steal (parts of) the code.
  18. 4) Do not claim as your own.
  19. 5) Do not delete or alter the credit.
  20. 6) Do not redistribute to other sites.
  21.  
  22. ----------
  23.  
  24. Useful comments to this code have been made.
  25.  
  26. If you need any help for a problem , feel free to send me a message via silbrigthemes.tumblr.com/ask or send a message to my official support blog, silbrigsupport.tumblr.com.
  27.  
  28. Have fun!
  29.  
  30. Love,
  31. Julia <3
  32.  
  33. ----------
  34.  
  35. Note:
  36.  
  37. This work is protected by a creative commons
  38. Attribution-NonCommercial-NoDerivatives 4.0 International
  39. (CC BY-NC-ND 4.0)
  40. license.
  41.  
  42. -->
  43.  
  44. <head>
  45.  
  46. <meta charset="utf-16">
  47. <title>{Title} | Entwurf</title> <!-- {Title} is your blog title. Change after the "|". -->
  48. <link rel="shortcut icon" href="{Favicon}"/>
  49. <link rel="alternate" type="application/rss+xml" href="{RSS}"/>
  50. <link rel="apple-touch-icon-precomposed" href="{PortraitURL-128}">
  51.  
  52. <!-- Changes the toolbar color on mobile. -->
  53. <meta name="theme-color" content="#217c8e"/>
  54.  
  55. <!-- Icon font, by fontawesome -->
  56. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
  57.  
  58. <!-- Necessary for the theme to be responsive. -->
  59. <meta name="viewport" content="width=device-width, initial-scale=1">
  60.  
  61. <!-- Necessary for the scripts to work. -->
  62. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  63.  
  64. <!-- Global Font | Open Sans -->
  65. <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&display=swap&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese" rel="stylesheet">
  66. <!-- Title Font | Playfair Display -->
  67. <link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap&subset=cyrillic,latin-ext,vietnamese" rel="stylesheet">
  68.  
  69. <!-- Other Fonts -->
  70. <!-- Roboto Mono -->
  71. <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700&display=swap&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese" rel="stylesheet">
  72. <!-- Cormorant Garamond -->
  73. <link href="https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,400,700&amp;subset=cyrillic,cyrillic-ext,latin-ext,vietnamese" rel="stylesheet">
  74. <!-- Dancing Script -->
  75. <link href="https://fonts.googleapis.com/css?family=Dancing+Script:400,700&amp;subset=latin-ext,vietnamese" rel="stylesheet">
  76.  
  77. <style>
  78.  
  79. body{
  80. margin:0;
  81. top:0;
  82. left:0;
  83. background-color:#f3f1ec; /* background color */
  84. font-size:1em; /* font-size, 1em = 16px */
  85. color:#333; /* text color */
  86. font-family:"Open Sans", Verdana; /* global font */
  87. text-align:justify; /* alt.: left */
  88. overflow-x:hidden;
  89. scroll-behavior:smooth;
  90. }
  91.  
  92. /* Custom Scrollbar */
  93. ::-webkit-scrollbar{
  94. width:10px;
  95. }
  96.  
  97. ::-webkit-scrollbar-thumb{
  98. width:10px;
  99. background-color:#217c8e; /* background color */
  100. }
  101.  
  102. /* Custom Text Selection */
  103. ::selection{
  104. background-color:#217c8e; /* background color */
  105. color:#fff; /* text color */
  106. }
  107.  
  108. ::-moz-selection{
  109. background-color:#217c8e; /* background color */
  110. color:#fff; /* text color */
  111. }
  112.  
  113. ::-o-selection{
  114. background-color:#217c8e; /* background color */
  115. color:#fff; /* text color */
  116. }
  117.  
  118. ::-webkit-selection{
  119. background-color:#217c8e; /* background color */
  120. color:#fff; /* text color */
  121. }
  122.  
  123. /* Custom Tooltips */
  124. .tippy-tooltip.entwurf-theme {
  125. background-color:#217c8e; /* background color */
  126. color:#fff; /* text color */
  127. text-align:left; /* alt.: center, right, justify */
  128. }
  129.  
  130. .tippy-tooltip.entwurf-theme .tippy-svg-arrow {
  131. fill:#217c8e; /* background color */
  132. }
  133.  
  134. /* ––– END GENERAL | START TEXT STYLES ––– */
  135.  
  136. /* Bold Text */
  137. b, strong{
  138. font-weight:bold;
  139. font-weight:700;
  140. color:#555; /* text color */
  141. }
  142.  
  143. /* Italic Text */
  144. i, em{
  145. font-weight:300; /* thin text */
  146. font-style:italic;
  147. color:#111; /* text color */
  148. }
  149.  
  150. /* Marked Text */
  151. mark{
  152. padding:2px 4px;
  153. background-color:#01596d; /* background color */
  154. color:#fff; /* text color */
  155. }
  156.  
  157. /* Preformatted Text */
  158. pre{
  159. font-family:"Roboto Mono", Courier; /* font-family */
  160. font-size:calc(1em - 2px);
  161. word-wrap:break-all;
  162. white-space:pre-wrap;
  163. color:#003c49; /* text color */
  164. }
  165.  
  166. /* Small Text */
  167. small{
  168. font-size:calc(1em - 4px);
  169. }
  170.  
  171. /* Underlined Text */
  172. u{
  173. text-decoration:none;
  174. border-bottom:2px solid #333; /* width style color */
  175. }
  176.  
  177. /* Blockquote */
  178. blockquote{
  179. border-left:4px solid #217c8e; /* width style color */
  180. padding-left:8px;
  181. }
  182.  
  183. /* Embedded Media */
  184. img, iframe{
  185. max-width:100%;
  186. }
  187.  
  188. /* Text Line */
  189. hr{
  190. width:80%;
  191. height:2px;
  192. border:none;
  193. background-color:#217c8e; /* background color */
  194. }
  195.  
  196. /* LINKS */
  197. /* Link */
  198. a{
  199. text-decoration:none;
  200. color:#217c8e; /* text color */
  201. border-bottom:2px solid #217c8e; /* width style color */
  202. }
  203.  
  204. /* Link | Hover */
  205. a:hover{
  206. color:#01596d; /* text color */
  207. border-bottom:2px solid #01596d; /* width style color */
  208. }
  209.  
  210. /* Link | Transitions */
  211. a, a:hover{
  212. transition:0.5s;
  213. -moz-transition:0.5s;
  214. -o-transition:0.5s;
  215. -webkit-transition:0.5s;
  216. }
  217.  
  218. /* PARAGRAPHS */
  219. /* First Paragraph */
  220. p:first-child{
  221. margin-top:0;
  222. }
  223.  
  224. /* Empty Paragraphs */
  225. p:empty{
  226. display:none;
  227. }
  228.  
  229. /* LISTS */
  230. /* Ordered List */
  231. ol{
  232. list-style-type:decimal;
  233. }
  234.  
  235. /* Unordered List */
  236. ul{
  237. list-style-type:disc;
  238. }
  239.  
  240. /* COLORED TEXT */
  241. /* Red Text */
  242. .npf_color_joey {
  243. color:#f21000; /* text color */
  244. }
  245.  
  246. /* Orange Text */
  247. .npf_color_monica {
  248. color:#f26400; /* text color */
  249. }
  250.  
  251. /* Yellow Text */
  252. .npf_color_phoebe {
  253. color:#f2ad00; /* text color */
  254. }
  255.  
  256. /* Green Text */
  257. .npf_color_ross {
  258. color:#37ce00; /* text color */
  259. }
  260.  
  261. /* Blue Text */
  262. .npf_color_rachel {
  263. color:#005cf2; /* text color */
  264. }
  265.  
  266. /* Purple Text */
  267. .npf_color_chandler {
  268. color:#8d00f2; /* text color */
  269. }
  270.  
  271. /* Pink Text */
  272. .npf_color_niles {
  273. color:#f200c1; /* text color */
  274. }
  275.  
  276. /* SPECIAL FONTS */
  277. /* Quirky Font */
  278. .npf_quirky{
  279. font-family: "Dancing Script", cursive;
  280. font-size:1.5em;
  281. }
  282.  
  283. /* Chat Font */
  284. .npf_chat{
  285. font-family:"Roboto Mono", Courier;
  286. }
  287.  
  288. /* Quote Font */
  289. .npf_quote{
  290. font-family:"Cormorant Garamond", "Palatino";
  291. font-size:1.25em;
  292. }
  293.  
  294. /* HEADINGS */
  295. /* First Heading */
  296. h1{
  297. font-size:1.75em;
  298. font-weight:bold;
  299. color:#217c8e; /* text color */
  300. }
  301.  
  302. /* Second Heading */
  303. h2{
  304. font-size:1.5em;
  305. font-weight:normal;
  306. color:#01596d; /* text color */
  307. }
  308.  
  309. /* Third Heading */
  310. h3{
  311. font-size:1.25em;
  312. font-weight:300;
  313. color:#003c49; /* text color */
  314. }
  315.  
  316. /* Fourth Heading */
  317. h4{
  318. font-size:1em;
  319. color:#002630; /* text color */
  320. }
  321.  
  322. /* Fifth Heading */
  323. h5{
  324. font-size:calc(1em - 2px);
  325. text-transform:uppercase;
  326. color:#002630; /* text color */
  327. }
  328.  
  329. /* Sixth Heading */
  330. h6{
  331. font-size:calc(1em - 4px);
  332. text-transform:uppercase;
  333. color:#002630; /* text color */
  334. }
  335.  
  336. /* ––– END TEXT STYLES | START LAYOUT ––– */
  337.  
  338. /* SIDEBAR */
  339. #sidebar{
  340. padding:1em;
  341. width:calc(30vw - 2em);
  342. height:calc(100vh - 2em);
  343. position:fixed;
  344. top:0;
  345. left:0;
  346. background-color:#fff; /* background color */
  347. display:flex;
  348. align-items:center;
  349. justify-content:center;
  350. flex-direction:column;
  351. }
  352.  
  353. /* Sidebar Title */
  354. #s-title{
  355. font-size:2.5em;
  356. font-family:"Playfair Display", Georgia; /* font-family */
  357. text-transform:lowercase;
  358. font-style:italic;
  359. color:#217c8e; /* text color */
  360. }
  361.  
  362. /* Sidebar Description */
  363. #s-desc{
  364. margin-bottom:8px;
  365. }
  366.  
  367. /* Filter Container */
  368. #myBtnContainer{
  369. display:flex;
  370. flex-wrap:wrap;
  371. justify-content:center;
  372. }
  373.  
  374. /* Filter Button */
  375. .btn{
  376. border:none;
  377. outline:none;
  378. padding:12px 16px;
  379. background-color:#f3f1ec; /* background color */
  380. cursor:pointer;
  381. margin-right:4px;
  382. margin-bottom:4px;
  383. font-family:"Open Sans", Verdana; /* font-family */
  384. font-size:calc(1em - 4px);
  385. color:#333; /* text color */
  386. }
  387.  
  388. /* Filter Button | Hover */
  389. .btn:hover{
  390. color:#217c8e; /* text color */
  391. }
  392.  
  393. /* Filter Button | Active */
  394. .btn.active{
  395. background-color:#217c8e; /* background color */
  396. color:#fff; /* text color */
  397. }
  398.  
  399. /* Filter Button | Transitions */
  400. .btn, .btn:hover, .btn.active{
  401. transition:0.5s;
  402. -moz-transition:0.5s;
  403. -o-transition:0.5s;
  404. -webkit-transition:0.5s;
  405. }
  406.  
  407. /* CONTAINER */
  408. #container{
  409. width:70vw;
  410. margin-left:30vw;
  411. height:auto;
  412. }
  413.  
  414. /* WORK */
  415. .work{
  416. width:calc(50vw + 2em);
  417. padding:1em;
  418. background-color:#fff; /* background color */
  419. margin-left:calc(10vw - 2em);
  420. margin-bottom:5em;
  421. margin-top:5em;
  422. display:grid;
  423. grid-template-columns:20vw 15vw 15vw;
  424. grid-column-gap:1em;
  425. grid-template-rows:auto 40vh auto auto;
  426. grid-row-gap:1em;
  427. float:left;
  428. display:none;
  429. }
  430.  
  431. /* The "show" class is added to the filtered elements */
  432. .show {
  433. display:grid;
  434. }
  435.  
  436. /* Title */
  437. .w-title{
  438. grid-column-start:1;
  439. grid-column-end:4;
  440. font-size:2em;
  441. font-family:"Playfair Display", Georgia; /* font-family */
  442. text-transform:lowercase;
  443. font-style:italic;
  444. color:#217c8e; /* text color */
  445. }
  446.  
  447. /* Subtitle */
  448. .w-subt{
  449. background-color:#217c8e; /* background color */
  450. padding:4px 8px;
  451. color:#fff; /* text color */
  452. text-transform:uppercase;
  453. margin-bottom:8px;
  454. }
  455.  
  456. /* Long Description */
  457. .w-desc{
  458. grid-column-start:1;
  459. grid-column-end:2;
  460. grid-row-start:2;
  461. grid-row-end:5;
  462. }
  463.  
  464. /* Short Description */
  465. .w-short{
  466. grid-column-start:2;
  467. grid-column-end:3;
  468. }
  469.  
  470. /* -- Table */
  471. table{
  472. max-width:100%;
  473. }
  474.  
  475. /* -- Table Cell */
  476. td{
  477. text-align:left;
  478. vertical-align:top;
  479. }
  480.  
  481. td:first-child{
  482. padding-right:8px;
  483. }
  484.  
  485. /* Image */
  486. .w-image{
  487. grid-column-start:3;
  488. grid-column-end:4;
  489. }
  490.  
  491. .w-image img{
  492. max-width:100%;
  493. }
  494.  
  495. /* Links */
  496. .w-links{
  497. grid-column-start:2;
  498. grid-column-end:3;
  499. grid-row-start:3;
  500. grid-row-end:5;
  501. display:flex;
  502. flex-wrap:wrap;
  503. justify-content:flex-start;
  504. align-items:flex-start;
  505. }
  506.  
  507. /* -- Link */
  508. a.link{
  509. color:#fff; /* text color */
  510. background-color:#217c8e; /* background color */
  511. padding:4px 8px;
  512. margin-right:4px;
  513. margin-bottom:4px;
  514. border-bottom:none;
  515. }
  516.  
  517. /* -- Link | Hover */
  518. a.link:hover{
  519. background-color:#01596d; /* background color */
  520. color:#fff; /* text color */
  521. }
  522.  
  523. /* -- Link | Transitions */
  524. a.link, a.link:hover{
  525. transition:0.5s;
  526. -moz-transition:0.5s;
  527. -o-transition:0.5s;
  528. -webkit-transition:0.5s;
  529. }
  530.  
  531. /* -- Link | Icon */
  532. a.link span{
  533. font-size:calc(1em - 2px);
  534. }
  535.  
  536. /* Progress */
  537. .w-progress{
  538. grid-column-start:3;
  539. grid-column-end:4;
  540. grid-row-start:3;
  541. grid-row-end:4;
  542. }
  543.  
  544. /* -- Progress Bar */
  545. .progressbar{
  546. width:100%;
  547. background-color:#f3f1ec; /* background color */
  548. height:20px;
  549. }
  550.  
  551. /* -- Progress */
  552. /* Sets the style for all progress. */
  553. .progress{
  554. background-color:#217c8e; /* background color */
  555. height:20px;
  556. }
  557.  
  558. /* These set the length of the progress. **/
  559. .p1{
  560. width:60%;
  561. }
  562.  
  563. /* Status */
  564. .w-status{
  565. grid-column-start:3;
  566. grid-column-end:4;
  567. grid-row-start:4;
  568. grid-row-end:5;
  569. background-color:#217c8e; /* background color */
  570. color:#fff; /* text color */
  571. padding:8px;
  572. display:flex;
  573. align-items:center;
  574. justify-content:center;
  575. }
  576.  
  577. /* ––– END LAYOUT | START EXTRAS ––– */
  578.  
  579. /* Hides the tumblr app button, by @yeoli-thm */
  580. .tmblr-iframe--app-cta-button {
  581. display:none!important;
  582. }
  583.  
  584. /* CUSTOM CONTROLS */
  585. /* Container */
  586. #custom-controls{
  587. position:fixed;
  588. top:8px;
  589. right:8px;
  590. height:calc(4 * 36px + 3 * 4px);
  591. width:36px;
  592. display:flex;
  593. flex-wrap:wrap;
  594. justify-content:space-between;
  595. align-items:space-between;
  596. }
  597.  
  598. /* Control Link */
  599. a.conlink{
  600. border-bottom:none;
  601. box-shadow:none;
  602. text-decoration:none;
  603. }
  604.  
  605. /* Control Element */
  606. .cont{
  607. background-color:#fff; /* background color */
  608. color:#217c8e; /* text color */
  609. font-size:calc(1em - 2px);
  610. width:36px;
  611. height:36px;
  612. display:flex;
  613. align-items:center;
  614. justify-content:center;
  615. }
  616.  
  617. /* Control Element on Hover */
  618. .cont:hover{
  619. color:#01596d; /* background color */
  620. transform:scale(0.95); /* smaller */
  621. }
  622.  
  623. /* Transitions */
  624. .cont, .cont:hover{
  625. transition:0.5s;
  626. -moz-transition:0.5s;
  627. -o-transition:0.5s;
  628. -webkit-transition:0.5s;
  629. }
  630.  
  631. /* Hides standard tumblr controls */
  632. body > iframe:first-child {
  633. display: none !important;
  634. }
  635.  
  636. /* Credit, Home Link, To Top */
  637. #cd, #home, #top{
  638. right:8px;
  639. position:fixed;
  640. }
  641.  
  642. /* Credit */
  643. /* Do not touch! */
  644. #cd{
  645. bottom:8px;
  646. }
  647.  
  648. /* Home Link */
  649. #home{
  650. bottom:calc(8px + 36px + 4px);
  651. }
  652.  
  653. /* To Top */
  654. #top{
  655. bottom:calc(8px + 2 * 36px + 2 * 4px);
  656. display:none;
  657. outline:none;
  658. border:none;
  659. }
  660.  
  661. /* To Top | Hover */
  662. #top:hover{
  663. cursor:pointer;
  664. }
  665.  
  666. /* ––– END EXTRAS | START RESPONSIVE LAYOUT ––– */
  667.  
  668. /* DESKTOP */
  669. @media only screen and (min-width:800px){
  670. /* Mobile Footer */
  671. #mobile-footer{
  672. display:none;
  673. }
  674. }
  675.  
  676. /* TABLETS */
  677. @media only screen and (max-width:800px){
  678. /* Multiple Elements */
  679. #sidebar, #cd, #top, #custom-controls, #home{
  680. display:none;
  681. }
  682.  
  683. /* Container */
  684. #container{
  685. width:100vw;
  686. margin-left:0;
  687. }
  688.  
  689. /* Work */
  690. .work{
  691. width:calc(80vw + 2em);
  692. grid-template-columns:35vw 22.5vw 22.5vw;
  693. grid-template-rows:auto auto auto 2em;
  694. margin-top:3em;
  695. margin-bottom:3em;
  696. }
  697.  
  698. .work:last-child{
  699. margin-bottom:calc(10vh + 3em);
  700. }
  701.  
  702. /* Long Description */
  703. .w-desc{
  704. grid-column-start:1;
  705. grid-column-end:2;
  706. grid-row-start:2;
  707. grid-row-end:5;
  708. }
  709.  
  710. /* Short Description */
  711. .w-short{
  712. grid-column-start:2;
  713. grid-column-end:4;
  714. grid-row-start:2;
  715. grid-row-end:3;
  716. }
  717.  
  718. /* Image */
  719. .w-image img{
  720. display:none;
  721. }
  722.  
  723. /* Links */
  724. .w-links{
  725. grid-column-start:2;
  726. grid-column-end:3;
  727. grid-row-start:3;
  728. grid-row-end:4;
  729. }
  730.  
  731. /* Progress */
  732. .w-progress{
  733. grid-column-start:3;
  734. grid-column-end:4;
  735. grid-row-start:3;
  736. grid-row-end:4;
  737. }
  738.  
  739. /* Status */
  740. .w-status{
  741. grid-column-start:3;
  742. grid-column-end:4;
  743. grid-row-start:4;
  744. grid-row-end:5;
  745. }
  746.  
  747. /* Mobile Footer */
  748. #mobile-footer{
  749. display:flex;
  750. align-items:center;
  751. justify-content:space-evenly;
  752. background-color:#003c49; /* background color */
  753. position:fixed;
  754. bottom:0;
  755. left:0;
  756. width:100vw;
  757. height:10vh;
  758. }
  759.  
  760. /* Navigation Element */
  761. .mf-nav{
  762. width:36px;
  763. height:36px;
  764. font-size:calc(1em - 2px);
  765. background-color:#fff; /* background color */
  766. color:#003649; /* text color */
  767. display:flex;
  768. align-items:center;
  769. justify-content:center;
  770. }
  771.  
  772. /* Navigation Element on Hover */
  773. .mf-nav:hover{
  774. color:#01596d; /* text color */
  775. cursor:pointer;
  776. }
  777.  
  778. /* Navigation Element Transitions */
  779. .mf-nav, .mf-nav:hover{
  780. transition:0.5s;
  781. -moz-transition:0.5s;
  782. -o-transition:0.5s;
  783. -webkit-transition:0.5s;
  784. }
  785.  
  786. /* Navigation Element Links */
  787. a.mf-link{
  788. border-bottom:none;
  789. }
  790. }
  791.  
  792. /* PHONES */
  793. @media only screen and (max-width:500px){
  794. /* Work */
  795. .work{
  796. display:block;
  797. width:calc(80vw - 2em);
  798. margin-left:10vw;
  799. }
  800.  
  801. /* Links */
  802. .w-links{
  803. margin:4px 0;
  804. }
  805.  
  806. /* Progress */
  807. .w-progress{
  808. margin-bottom:8px;
  809. }
  810. }
  811.  
  812. </style>
  813. </head>
  814.  
  815. <body>
  816.  
  817. <!-- SIDEBAR -->
  818. <div id="sidebar">
  819. <!-- Sidebar Title -->
  820. <div id="s-title">Entwurf</div>
  821. <!-- Sidebar Description -->
  822. <div id="s-desc">
  823. Collection of my work(s) in progress.
  824. </div>
  825. <!-- Sidebar Filters -->
  826. <div id="myBtnContainer">
  827. <button class="btn active" onclick="filterSelection('all')">
  828. Show all
  829. </button>
  830. <button class="btn" onclick="filterSelection('filter1')">
  831. Filter 1
  832. </button>
  833. <button class="btn" onclick="filterSelection('filter2')">
  834. Filter 2
  835. </button>
  836. <button class="btn" onclick="filterSelection('filter3')">
  837. Filter 3
  838. </button>
  839. <button class="btn" onclick="filterSelection('filter4')">
  840. Filter 4
  841. </button>
  842. <!-- Add more here. -->
  843. </div> <!-- // end sidebar filters -->
  844. </div> <!-- // end sidebar -->
  845.  
  846. <!-- CONTAINER -->
  847. <div id="container">
  848. <!-- WORK -->
  849. <div class="work filter1 filter2">
  850. <!-- Title -->
  851. <div class="w-title">[title here]</div>
  852. <!-- Long Description -->
  853. <div class="w-desc">
  854. <div class="w-subt">description</div>
  855. <div class="w-text">
  856. [summary here]
  857. </div>
  858. </div> <!-- // end long description -->
  859. <!-- Short Description -->
  860. <div class="w-short">
  861. <div class="w-subt">short description</div>
  862. <table>
  863. <tr>
  864. <td>Title:</td>
  865. <td>[title here]</td>
  866. </tr>
  867. <tr>
  868. <td>Genre:</td>
  869. <td>[genres here]</td>
  870. </tr>
  871. <tr>
  872. <td>Main Characters:</td>
  873. <td>[characters here]</td>
  874. </tr>
  875. <tr>
  876. <td>Themes:</td>
  877. <td>[themes here]</td>
  878. </tr>
  879. <!-- Add more if you want to. -->
  880. </table>
  881. </div> <!-- // end short description -->
  882. <!-- Image -->
  883. <div class="w-image">
  884. <img src="[image url here]" alt="image"/>
  885. </div> <!-- // end image -->
  886. <!-- Links -->
  887. <div class="w-links">
  888. <a href="/" class="link" title="example link">
  889. <span class="fas fa-link"></span> Example Link
  890. </a>
  891. <!-- Add more if you want to. -->
  892. </div> <!-- // end links -->
  893. <!-- Progress -->
  894. <div class="w-progress">
  895. <div class="progressbar">
  896. <div class="progress p1"></div>
  897. </div>
  898. </div> <!-- // end progress -->
  899. <!-- Status -->
  900. <div class="w-status">
  901. [status here]
  902. </div> <!-- // end status -->
  903. </div> <!-- // end work -->
  904.  
  905. <!-- Add more here. -->
  906.  
  907. <!-- Copy and paste the following code:
  908. <div class="work filter1 filter2">
  909. <div class="w-title">[title here]</div>
  910. <div class="w-desc">
  911. <div class="w-subt">description</div>
  912. <div class="w-text">
  913. [summary here]
  914. </div>
  915. </div>
  916. <div class="w-short">
  917. <div class="w-subt">short description</div>
  918. <table>
  919. <tr>
  920. <td>Title:</td>
  921. <td>[title here]</td>
  922. </tr>
  923. <tr>
  924. <td>Genre:</td>
  925. <td>[genres here]</td>
  926. </tr>
  927. <tr>
  928. <td>Main Characters:</td>
  929. <td>[characters here]</td>
  930. </tr>
  931. <tr>
  932. <td>Themes:</td>
  933. <td>[themes here]</td>
  934. </tr>
  935. </table>
  936. </div>
  937. <div class="w-image">
  938. <img src="[image url here]" alt="image"/>
  939. </div>
  940. <div class="w-links">
  941. <a href="/" class="link" title="example link">
  942. <span class="fas fa-link"></span> Example Link
  943. </a>
  944. </div>
  945. <div class="w-progress">
  946. <div class="progressbar">
  947. <div class="progress p1"></div>
  948. </div>
  949. </div>
  950. <div class="w-status">
  951. [status here]
  952. </div>
  953. </div>
  954. -->
  955.  
  956. </div> <!-- // end container -->
  957.  
  958. <!-- MOBILE FOOTER -->
  959. <div id="mobile-footer">
  960. <!-- Desktop Link -->
  961. <a href="https://www.tumblr.com/dashboard" title="go to dashboard" class="mf-link">
  962. <div class="mf-nav">
  963. <span class="fab fa-tumblr" aria-hidden="true"></span>
  964. </div>
  965. </a>
  966.  
  967. <!-- Home Link -->
  968. <a href="/" title="return to blog" class="mf-link">
  969. <div class="mf-nav">
  970. <span class="fas fa-home" aria-hidden="true"></span>
  971. </div>
  972. </a>
  973.  
  974. <!-- Credit – Do not touch! -->
  975. <a href="https://silbrigthemes.tumblr.com/" title="page by silbrigthemes" class="mf-link">
  976. <div class="mf-nav">
  977. <span class="fas fa-code" aria-hidden="true"></span>
  978. </div>
  979. </a>
  980. </div> <!-- // end mobile footer -->
  981.  
  982. <!-- CUSTOM CONTROLS -->
  983. <div id="custom-controls">
  984. <!-- Dashboard Link -->
  985. <a href="https://www.tumblr.com/dashboard" title="go to dashboard" class="conlink">
  986. <div class="cont">
  987. <span class="fab fa-tumblr" aria-hidden="true"></span>
  988. </div>
  989. </a>
  990.  
  991. <!-- Message -->
  992. <!-- Takes people to dashboard to send you a message. -->
  993. <a href="https://www.tumblr.com/message/{Name}" title="send a message to {Name}" class="conlink">
  994. <div class="cont">
  995. <span class="fas fa-comment-dots" aria-hidden="true"></span>
  996. </div>
  997. </a>
  998.  
  999. <!-- Customize -->
  1000. <!-- Takes you, the blog owner, to the customization. -->
  1001. <a href="https://www.tumblr.com/customize/{Name}?redirect_to=https%3A%2F%2F{Name}.tumblr.com" title="customize page" class="conlink">
  1002. <div class="cont">
  1003. <span class="fas fa-palette" aria-hidden="true"></span>
  1004. </div>
  1005. </a>
  1006.  
  1007. <!-- Follow -->
  1008. <!-- Takes people to a page so that they can follow you. -->
  1009. <a href="https://www.tumblr.com/follow/{Name}" title="follow {Name}" class="conlink">
  1010. <div class="cont">
  1011. <span class="fas fa-plus" aria-hidden="true"></span>
  1012. </div>
  1013. </a>
  1014. </div> <!-- // end custom controls -->
  1015.  
  1016. <!-- CREDIT -->
  1017. <!-- Do not touch! -->
  1018. <a href="https://silbrigthemes.tumblr.com/" class="conlink">
  1019. <div class="cont" id="cd" title="page by silbrigthemes">
  1020. <span class="fas fa-code" aria-hidden="true"></span>
  1021. </div>
  1022. </a>
  1023.  
  1024. <!-- HOME -->
  1025. <a href="/" class="conlink">
  1026. <div class="cont" id="home" title="return to blog">
  1027. <span class="fas fa-home" aria-hidden="true"></span>
  1028. </div>
  1029. </a>
  1030.  
  1031. <!-- To top button -->
  1032. <button onclick="topFunction()" class="cont" id="top" title="go back up">
  1033. <span class="fas fa-chevron-up" aria-hidden="true"></span>
  1034. </button>
  1035.  
  1036. <script>
  1037. var mq = window.matchMedia( "(min-width: 800px)" );
  1038. if (mq.matches) {
  1039. //Get the button
  1040. var mybutton = document.getElementById("top");
  1041.  
  1042. // When the user scrolls down 20px from the top of the document, show the button
  1043. window.onscroll = function() {scrollFunction()};
  1044.  
  1045. function scrollFunction() {
  1046. if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
  1047. mybutton.style.display = "block";
  1048. } else {
  1049. mybutton.style.display = "none";
  1050. }
  1051. }
  1052.  
  1053. // When the user clicks on the button, scroll to the top of the document
  1054. function topFunction() {
  1055. document.body.scrollTop = 0;
  1056. document.documentElement.scrollTop = 0;
  1057. }
  1058. }
  1059. else {
  1060. mybutton.style.display = "none";
  1061. }
  1062. </script>
  1063.  
  1064. <!-- Filter Script -->
  1065. <script>
  1066. filterSelection("all")
  1067. function filterSelection(c) {
  1068. var x, i;
  1069. x = document.getElementsByClassName("work");
  1070. if (c == "all") c = "";
  1071. // Add the "show" class (display:block) to the filtered elements, and remove the "show" class from the elements that are not selected
  1072. for (i = 0; i < x.length; i++) {
  1073. w3RemoveClass(x[i], "show");
  1074. if (x[i].className.indexOf(c) > -1) w3AddClass(x[i], "show");
  1075. }
  1076. }
  1077.  
  1078. // Show filtered elements
  1079. function w3AddClass(element, name) {
  1080. var i, arr1, arr2;
  1081. arr1 = element.className.split(" ");
  1082. arr2 = name.split(" ");
  1083. for (i = 0; i < arr2.length; i++) {
  1084. if (arr1.indexOf(arr2[i]) == -1) {
  1085. element.className += " " + arr2[i];
  1086. }
  1087. }
  1088. }
  1089.  
  1090. // Hide elements that are not selected
  1091. function w3RemoveClass(element, name) {
  1092. var i, arr1, arr2;
  1093. arr1 = element.className.split(" ");
  1094. arr2 = name.split(" ");
  1095. for (i = 0; i < arr2.length; i++) {
  1096. while (arr1.indexOf(arr2[i]) > -1) {
  1097. arr1.splice(arr1.indexOf(arr2[i]), 1);
  1098. }
  1099. }
  1100. element.className = arr1.join(" ");
  1101. }
  1102.  
  1103. // Add active class to the current control button (highlight it)
  1104. var btnContainer = document.getElementById("myBtnContainer");
  1105. var btns = btnContainer.getElementsByClassName("btn");
  1106. for (var i = 0; i < btns.length; i++) {
  1107. btns[i].addEventListener("click", function() {
  1108. var current = document.getElementsByClassName("active");
  1109. current[0].className = current[0].className.replace(" active", "");
  1110. this.className += " active";
  1111. });
  1112. }
  1113. </script>
  1114.  
  1115. <!-- Tooltips, TippyJs -->
  1116. <script src="https://unpkg.com/popper.js@1"></script>
  1117. <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script>
  1118. <link rel="stylesheet" href="https://unpkg.com/tippy.js@5/dist/svg-arrow.css" />
  1119.  
  1120. <script>
  1121. tippy('a[title], #cd, #top, #home', {
  1122. theme: 'entwurf',
  1123. arrow: tippy.roundArrow,
  1124. zIndex: 9999999999,
  1125. maxWidth: 300,
  1126.  
  1127. content(reference) {
  1128. const title = reference.getAttribute('title');
  1129. reference.removeAttribute('title');
  1130. return title;
  1131. },
  1132. });
  1133. </script>
  1134.  
  1135. </body>
  1136. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement