Advertisement
divinethm

aegle — network i

Nov 23rd, 2018
2,723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.49 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6. aegle — network i
  7. by divinethemes
  8.  
  9.  
  10. › do not steal any part of this code
  11. › edit however you want, but only for personal use
  12. › send any questions to divinethemes.tumblr.com/ask
  13. › thank you for using! <3
  14.  
  15.  
  16. › ctrl/command + f, type "#ede1cf" and replace with desired color to change all the link hover colors at once
  17. › your customize page may show scrolling instead of the hover effect bc the window that your page is displayed on now is too small to fit three columns - check your actual blog if you think something is wrong
  18. › if you change any of the widths of the member elements (icon, desc, etc.) pls note that it may affect how they'll fit on smaller/bigger screens
  19. › i will not assist with redjusting sizes since they have already been made to be fit on (hopefully) all screen sizes
  20.  
  21. -->
  22.  
  23. <title>members — {Name}</title>
  24. <link rel="shortcut icon" href="{Favicon}">
  25.  
  26. <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
  27.  
  28. <!-- tooltips script-->
  29. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  30.  
  31. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  32. <script>
  33. (function($){
  34. $(document).ready(function(){
  35. $("[title]").style_my_tooltips({
  36. tip_follows_cursor:true,
  37. tip_delay_time:200,
  38. tip_fade_speed:300
  39. }
  40. );
  41. });
  42. })(jQuery);
  43. </script>
  44.  
  45. <!--font awesome -->
  46. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
  47.  
  48. <!-- honeybee icons by @themehive -->
  49. <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet">
  50.  
  51. <!--fonts-->
  52. <link href="https://fonts.googleapis.com/css?family=Fira+Sans:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
  53.  
  54. <link href="https://fonts.googleapis.com/css?family=Karla:400,400i,700,700i" rel="stylesheet">
  55.  
  56. <link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i" rel="stylesheet">
  57.  
  58. <style type="text/css">
  59.  
  60. @keyframes fadein {from {opacity:0;}to {opacity:1;}}
  61. @-moz-keyframes fadein {from {opacity:0;}to {opacity:1;}}
  62. @-webkit-keyframes fadein {from {opacity:0;}to {opacity:1;}}
  63. @-o-keyframes fadein {from {opacity:0;}to {opacity: 1;}}
  64.  
  65. /*-- scrollbar --*/
  66. ::-webkit-scrollbar {
  67. width:6px;
  68. background:#fafafa; /* scrollbar bg color - i recommend making it the same as the desc bg */
  69. }
  70.  
  71. ::-webkit-scrollbar-thumb {
  72. background:#ede1cf; /* scrollbar color */
  73. }
  74.  
  75. ::-webkit-scrollbar,::-webkit-scrollbar-thumb {
  76. border:5px solid #fafafa; /* make this same as desc bg if you change that color */
  77. border-left:none;
  78. }
  79.  
  80. /*-- selection --*/
  81. ::-moz-selection { background:#eaeaea; color:#222; }
  82. ::selection { background:#eaeaea; color:#222; }
  83.  
  84. /*-- hide tumblr controls --*/
  85. .tmblr-iframe, .iframe-controls–desktop {display:none !important;}
  86.  
  87. /*-- tooltips --*/
  88. #s-m-t-tooltip {
  89. position:absolute;
  90. padding:0px 5px 0px 5px;
  91. margin-top:30px;
  92. color:#444;
  93. background-color:#fafafa;
  94. font-family:'Fira Sans', sans-serif;
  95. font-size:9.5px;
  96. font-style:italic;
  97. text-transform:lowercase;
  98. text-align:center;
  99. border:1px solid #eee;
  100. letter-spacing:0.5px;
  101. z-index:999999;
  102. }
  103.  
  104. /*--general--*/
  105. body {
  106. background-color:#fff;
  107. font-family:'Fira Sans', sans-serif;
  108. font-size:11px;
  109. font-weight:400;
  110. line-height:190%;
  111. text-decoration:none;
  112. color:#555;
  113. -moz-osx-font-smoothing:grayscale;
  114. -webkit-font-smoothing:antialiased;
  115. font-smoothing:antialiased;
  116. animation: fadein 2s;
  117. -moz-animation: fadein 2s;
  118. -webkit-animation: fadein 2s;
  119. -o-animation: fadein 2s;
  120. }
  121.  
  122. body, * {
  123. cursor:auto;
  124. }
  125.  
  126. a {
  127. text-decoration:none;
  128. color:#999; /* link color */
  129. -webkit-transition:0.4s ease-in;
  130. -moz-transition:0.4s ease-in;
  131. -o-transition:0.4s ease-in;
  132. }
  133.  
  134. a:hover {
  135. color:#ede1cf; /* link hover color */
  136. text-decoration:none;
  137. cursor:pointer;
  138. -webkit-transition:0.4s ease-in;
  139. -moz-transition:0.4s ease-in;
  140. -o-transition:0.4s ease-in;
  141. }
  142.  
  143. b, strong {
  144. font-weight:700;
  145. color:#222;
  146. }
  147.  
  148. i, em {
  149. font-style:italic;
  150. }
  151.  
  152. blockquote {
  153. padding-left:10px;
  154. border-left:1px solid #eee;
  155. margin:0px;
  156. }
  157.  
  158. /*-- credit // no touch you mortal (except the hover color) --*/
  159. .c {
  160. position:fixed;
  161. bottom:15px;
  162. right:20px;
  163. font-size:10.5px;
  164. -webkit-transition:0.7s ease-in;
  165. -moz-transition:0.7s ease-in;
  166. -o-transition:0.7s ease-in;
  167. }
  168.  
  169. .c a {
  170. color:#555;
  171. }
  172.  
  173. .c a:hover {
  174. color:#ede1cf; /* you can change this */
  175. }
  176.  
  177. .c:hover {
  178. transform:rotate(540deg);
  179. -webkit-transition:0.7s ease-in;
  180. -moz-transition:0.7s ease-in;
  181. -o-transition:0.7s ease-in;
  182. }
  183.  
  184. .c i:hover {
  185. cursor:pointer;
  186. }
  187.  
  188. /*-- header --*/
  189. #header {
  190. position:relative;
  191. margin:60px auto 50px auto;
  192. text-align:center;
  193. }
  194.  
  195. #header h1 {
  196. font-family:'Playfair Display', serif;
  197. font-size:16px;
  198. letter-spacing:1px;
  199. text-transform:lowercase;
  200. font-weight:600;
  201. font-style:normal;
  202. }
  203.  
  204. #header img {
  205. width:50px;
  206. height:50px;
  207. border-radius:50%;
  208. background:#fafafa;
  209. border:1px solid #eee;
  210. padding:6px;
  211. margin:auto;
  212. }
  213.  
  214. .links {
  215. width:366px;
  216. margin:auto;
  217. }
  218.  
  219. .links a {
  220. border-top:1px solid #eee;
  221. border-bottom:1px solid #eee;
  222. font-style:italic;
  223. font-size:12px;
  224. display:inline-block;
  225. padding:5px 8px 8px 8px;
  226. width:45px;
  227. line-height:200%;
  228. margin:-3px;
  229. text-align:center;
  230. }
  231.  
  232. .links a:before {
  233. content:'';
  234. display:block;
  235. width:0;
  236. float:right;
  237. height:2px;
  238. margin-top:-6px;
  239. background:#ede1cf; /* header link hover top border */
  240. transition: width .5s;
  241. }
  242.  
  243. .links a:after {
  244. content:'';
  245. display:block;
  246. width:0;
  247. height:2px;
  248. margin-bottom:-9px;
  249. background:#ede1cf; /* header link hover bottom border */
  250. transition: width .5s;
  251. }
  252.  
  253. .links a:hover:before, .links a:hover:after {
  254. width: 100%;
  255. }
  256.  
  257. .hdesc {
  258. margin:0 auto 15px auto;
  259. width:330px; /* you may want to change according to the number of links
  260. (link width + 16px - 6px) * # of links */
  261. }
  262.  
  263. /*-- members --*/
  264. #members {
  265. position:relative;
  266. width:calc((280px + 60px) * 3); /* (box width + margin*2) * # of columns */
  267. margin:0 auto;
  268. }
  269.  
  270. .member {
  271. float:left;
  272. width:280px;
  273. height:150px;
  274. margin:30px;
  275. }
  276.  
  277. .member:nth-last-child(1) {
  278. margin-bottom:250px; /* increase/decrease this depending on the longest length of a desc in the last row */
  279. }
  280.  
  281. .left {
  282. float:left;
  283. width:110px;
  284. height:110px;
  285. margin-top:5px;
  286. display:inline;
  287. }
  288.  
  289. .left img {
  290. width:110px;
  291. height:110px;
  292. border-radius:4px;
  293. display:inline;
  294. margin-right:15px;
  295. }
  296.  
  297. h1 {
  298. margin-top:6px;
  299. text-align:center;
  300. font-family:'Karla', sans-serif;
  301. font-weight:500;
  302. font-style:italic;
  303. font-size:15px;
  304. letter-spacing:0.5px;
  305. }
  306.  
  307. .desc {
  308. float:right;
  309. width:125px;
  310. height:88px; /* change max-height to the same value */
  311. max-height:88px; /* and if you change go down to the media queries and follow instructions */
  312. padding:10px;
  313. margin-top:5px;
  314. background:#fafafa; /* desc backgound color */
  315. border-radius:4px;
  316. border:1px solid #eee; /* desc box border color */
  317. text-align:justify;
  318. overflow:hidden;
  319. display:-webkit-box;
  320. -webkit-line-clamp:5; /* if you do change the height of the desc change this to whatever new number of lines there are */
  321. -webkit-box-orient:vertical;
  322. transition: max-height 0.25s ease-out; /* don't change this! */
  323. }
  324.  
  325. .desc a {
  326. border-bottom:1px solid #eee; /* desc link border bottom color */
  327. }
  328.  
  329. .desc a:hover {
  330. border-bottom:1px solid #ede1cf; /* desc link border bottom hover color */
  331. }
  332.  
  333. .member:hover .desc {
  334. height:auto;
  335. display:-webkit-box;
  336. -webkit-line-clamp:99999999;
  337. -webkit-box-orient:vertical;
  338. min-height:88px;
  339. max-height:5000px;
  340. transition: max-height 3.5s ease-in;
  341. opacity:0.99;
  342. }
  343.  
  344. .url {
  345. text-align:center;
  346. margin-top:4px;
  347. }
  348.  
  349. .url a {
  350. font-size:11px;
  351. font-style:italic;
  352. letter-spacing:0.3px;
  353. border-top:1px solid #eee;
  354. border-bottom:1px solid #eee;
  355. display:inline-block;
  356. }
  357.  
  358. .url a:hover {
  359. color:#999;
  360. }
  361.  
  362. .url a:before, .url a:after {
  363. content:'';
  364. display:block;
  365. width:0;
  366. height:1px;
  367. background:#ede1cf; /* url hover border top and bottom color */
  368. transition:width .5s;
  369. }
  370.  
  371. .url a:before {
  372. margin-top:-1px;
  373. }
  374.  
  375. .url a:after {
  376. float:right;
  377. margin-bottom:-1px;
  378. }
  379.  
  380. .url a:hover:before, .url a:hover:after {
  381. width: 100%;
  382. }
  383.  
  384. /*-- media queries --*/
  385. @media only screen
  386. and (max-width: 960px){
  387. html, body {
  388. overflow-x: hidden;
  389. max-width:100vw;
  390. }
  391. body {
  392. position: relative;
  393. }
  394. }
  395.  
  396. @media only screen
  397. and (max-width : 600px){
  398. #members {
  399. width:100vw;
  400. }
  401. }
  402.  
  403. @media only screen
  404. and (max-width: 960px)
  405. and (min-width: 601px) {
  406. #members {
  407. width:calc((280px + 60px) * 2);
  408. }
  409. }
  410.  
  411. @media only screen
  412. and (min-width: 1700px) {
  413. #members {
  414. width:calc((280px + 60px) * 4);
  415. }
  416. }
  417.  
  418. @media only screen
  419. and (max-width : 600px) {
  420. .member:nth-last-child {
  421. margin-bottom:60px;
  422. }
  423. .member {
  424. float:none;
  425. position:relative;
  426. margin:60px auto;
  427. }
  428. }
  429.  
  430. @media only screen
  431. and (max-width : 960px) {
  432. .desc {
  433. overflow:auto;
  434. display: -webkit-box;
  435. -webkit-line-clamp:9999999999;
  436. -webkit-box-orient:vertical;
  437. }
  438. /* change height and max-height to the same value as you did above */
  439. .member:hover .desc {
  440. height:88px;
  441. max-height:88px;
  442. overflow:auto;
  443. }
  444. }
  445.  
  446. @media only screen
  447. and (max-width: 960px)
  448. and (min-width: 601px) {
  449. .member:nth-last-child {
  450. margin-bottom:30px;
  451. }
  452. }
  453.  
  454. @media only screen
  455. and (min-width: 961px) {
  456. .member:hover, .left img:hover, .desc:hover, .member h1:hover {
  457. cursor:help;
  458. }
  459. }
  460.  
  461.  
  462. </style>
  463. </head>
  464.  
  465. <body>
  466.  
  467. <!-- header start ------------------------------------------------------------->
  468. <div id="header">
  469. <img src="{PortraitURL-64}"/> <!-- replace {PortraitURL-64} w/ an image url or your default icon will show up -->
  470. <h1>members</h1>
  471.  
  472. <div class="hdesc">
  473. a description here perhaps
  474. </div>
  475.  
  476. <!-- header links -->
  477. <div class="links">
  478. <a href="/">index</a>
  479. <a href="/ask">ask</a>
  480. <a href="">alpha</a>
  481. <a href="">beta</a>
  482. <a href="">gamma</a>
  483. <a href="http://divinethemes.tumblr.com">credit</a>
  484. </div>
  485.  
  486. </div>
  487. <!-- header end --------------------------------------------------------------->
  488.  
  489.  
  490. <!-- member template :
  491.  
  492. <div class="member">
  493. <div class="left">
  494. <img src="icon image url here"/>
  495. <div class="url"><a href="url here">username/url</a></div>
  496. </div>
  497. <h1>name</h1>
  498.  
  499. <div class="desc">
  500. description here
  501. </div>
  502. </div>
  503.  
  504.  
  505. members start ----------------------------------------------------------------->
  506. <div id="members">
  507.  
  508.  
  509. <div class="member">
  510. <div class="left">
  511. <img src="icon image url here"/>
  512. <div class="url"><a href="url here">username/url</a></div>
  513. </div>
  514. <h1>name</h1>
  515.  
  516. <div class="desc">
  517. description here
  518. </div>
  519. </div>
  520.  
  521.  
  522. <div class="member">
  523. <div class="left">
  524. <img src="icon image url here"/>
  525. <div class="url"><a href="url here">username/url</a></div>
  526. </div>
  527. <h1>name</h1>
  528.  
  529. <div class="desc">
  530. description here
  531. </div>
  532. </div>
  533.  
  534.  
  535. <div class="member">
  536. <div class="left">
  537. <img src="icon image url here"/>
  538. <div class="url"><a href="url here">username/url</a></div>
  539. </div>
  540. <h1>name</h1>
  541.  
  542. <div class="desc">
  543. description here
  544. </div>
  545. </div>
  546.  
  547.  
  548. </div>
  549. <!-- members end -------------------------------------------------------------->
  550.  
  551.  
  552. <!-- credit // no touch you mortal -->
  553. <div class="c"><a title="divine themes" target="_blank" href="http://divinethemes.tumblr.com"><i class="fas fa-crown"></i></a>
  554. </div>
  555.  
  556.  
  557. </body>
  558. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement