Advertisement
alxq

Minimalist Villager Profile v1 (alxq #9085)

Jun 24th, 2017
2,031
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 14.41 KB | None | 0 0
  1. /* Minimalist Villager Profile v1 by alxq #9085
  2.  
  3. THINGS YOU'D NEED:
  4. + a background image url, preferably at least 2000 x 2000 pixels
  5. - make sure your image url ends in .jpeg , .jpg , or .png and that it doesnt' have ? in its url
  6. - right click on your image, select "copy image url" or "copy image address" to get the url
  7. + a villager background image url, size is best if 675 pixels width and 410 pixels height exactly
  8. + three colors to complement your background (in RGB form)
  9. - color one, the MAIN color, will be denoted as ###
  10. - color two, the COMPLIMENTARY color, will be denoted as ***
  11. - color three, the DARKER VERSION of COLOR TWO, will be denoted as %%%
  12.  
  13. OPTIONAL THINGS:
  14. - if your main color is LIGHT, as in very light pink or yellow:
  15.     - please change all lines that have "color: #fff;" into "color: #000;" or some other
  16. dark color for readability on your profile
  17.  
  18. - if your main color is DARK, as in very dark blue or red:
  19.     - you can change all lines that have "color: #fff;" into some other light color
  20. or you can leave it alone
  21.  
  22. - logos (big on top, small on bottom), the icons and villagers on the bottom are all
  23. optional. if you'd like to keep the default images, you can simply take off the code
  24. that asks for the img urls (that doesn't ask for the BACKGROUND URL, you want that to stay because
  25. thats the code for your profile bg).
  26. i.e. "background: url('PETS IMAGE URL HERE');"
  27.  
  28. - you may take out hovers if you like, or adjust them accordingly. make sure that the
  29. code youre modifying corresponds to the right one! (i.e. .villager-data-info:hover takes
  30. care of the villager info hover effect).
  31.  
  32. - if you have a hover (i.e. the hover on your villager info) and its too short/too
  33. long of a wait time, you can just change the max-height information on the hovers.
  34. make sure that you're changing the max-height under the code that has :hover in it
  35. (i.e. .villager-data-info:hover { } )!
  36.  
  37. YOU MAY:
  38. - edit to hell and back
  39. - use snippets to make your own frankenstein with appropriate credit
  40. - credit minor edits done by you as long as you credit me for the base code
  41. - share with friends
  42.  
  43. YOU MAY NOT:
  44. - claim it (fully) as your own
  45. - use the base code/snippets of it as an entry in a css contest
  46. - SELL EDITS OF THIS CODE
  47.  
  48. RGB form should look something like this (xxx,xxx,xxx)
  49. there will be parts where the form is rgba(xxx,xxx,xxx,@@@)
  50. in this case, just replace the first three xxx with their
  51. respective rgb code and leave @@@ alone (unless you know what
  52. you're doing)
  53. here's a site to find rgb values of a color:
  54. http://www.javascripter.net/faq/hextorgb.htm
  55.  
  56. if you are unsure about something, please message #9085 on Furvilla
  57. thanks to msjanny #7302 for helping clean up the code! */
  58.  
  59. /* UNIVERSAL TRANSITIONS */
  60. a .fa {
  61.     transition: none;
  62. }
  63. * {
  64.    transition: 1s;
  65. }
  66.  
  67. /*  SEMIOPAQUE BACKGROUND */
  68. .report a,
  69. .widget-content,
  70. .user-comments .user-comment,
  71. .content .textarea + .btn,
  72. .content .textarea,
  73. .gallery-header .btn-link,
  74. .panel,
  75. .villagers-list,
  76. .user-data,
  77. .alert.success,
  78. .alert.alert,
  79. .alert,
  80. .notifications .btn,
  81. .recent-posts .forum-posts li:nth-child(odd),
  82. .user-panel.clearfix {
  83.     background: rgba(###,###,###,0.8);
  84. }
  85.  
  86. /* OPAQUE BACKGROUND */
  87. .report a:hover,
  88. .content .textarea + .btn:hover,
  89. .gallery-header .btn-link:hover,
  90. .notifications .btn,
  91. .search-form .input,
  92. .widget-header h3,
  93. .dropdown-menu,
  94. #logo+:nth-child(2) {
  95.     background: rgb(###,###,###);
  96. }
  97. .content .active span,
  98. .table tr:hover td,
  99. .dropdown-menu .multi-column-dropdown li .fa p,
  100. .dropdown-menu .multi-column-dropdown li a {
  101.     background: rgb(###,###,###) !important;
  102. }
  103.  
  104. /* WHITE TEXT */
  105. div.bottom,
  106. .widget-content,
  107. .user-info h4,
  108. .content .pagination > .disabled > span,
  109. .content .pagination > .disabled > span:hover,
  110. .content .pagination > .disabled > span:focus,
  111. .content .pagination > .disabled > a,
  112. .content .pagination > .disabled > a:hover,
  113. .content .pagination > .disabled > a:focus,
  114. .content .textarea,
  115. .content,
  116. .search-form .input,
  117. .dropdown-menu .multi-column-dropdown li a,
  118. .content h1.clearfix,
  119. .user-comments .user-comment .footer,
  120. .widget .forum-posts p {
  121.     color: #fff;
  122. }
  123. .content .pagination a,
  124. .gallery-header .btn-link,
  125. .alert.success,
  126. .alert.alert,
  127. .alert,
  128. .dropdown-menu .multi-column-dropdown li a {
  129.     color: #fff !important;
  130. }
  131.  
  132. /* WEBPAGE BACKGROUND */
  133. /* do NOT delete this if you want a custom bg image */
  134. .content:after {
  135.     background: url('BACKGROUND URL HERE');
  136.     height: 100%;
  137.     background-size: cover;
  138.     position: fixed;
  139.     top: 0;
  140.     z-index: -1;
  141. }
  142.  
  143. /* UNIVERSAL LINK */
  144. a,
  145. .user-comments .user-comment .footer a,
  146. .widget .forum-posts p a {
  147.     color: rgb(***,***,***);
  148. }
  149. a:hover, a:focus, a:active,
  150. .user-comments .user-comment .footer a:hover,
  151. .widget .forum-posts p a:hover {
  152.     color: rgb(%%%,%%%,%%%);
  153.     text-decoration: none;
  154. }
  155.  
  156. /* LOGO IMAGE (BIG) */
  157. /* you can remove this section if you don't */
  158. /* want to change the big logo on top */
  159. #logo a {
  160.     background: url('LOGO IMAGE HERE') no-repeat;
  161. }
  162.  
  163. /* SEARCH FORM */
  164. .search-form .input {
  165.     border: none;
  166. }
  167.  
  168. /* DROPDOWN MENU */
  169. .dropdown-menu .multi-column-dropdown li a:hover {
  170.    transition: 0.5s all !important;
  171.    background: #fff !important;
  172.    color: rgb(###,###,###) !important;
  173. }
  174. .dropdown-menu .multi-column-dropdown li a {
  175.    transition: 0.5s all !important;
  176.    color: #fff !important;
  177. }
  178.  
  179. /* USER PANEL NAV */
  180. .user-panel.clearfix {
  181.     border-radius: 0 0 10px 10px;
  182. }
  183. header .user-panel,
  184. header .user-panel a {
  185. color: rgb(***,***,***) !important;
  186. }
  187. header .user-panel a:hover {
  188. color: rgb(%%%,%%%,%%%) !important;
  189. }
  190.  
  191. /* WEBPAGE GENERAL CSS */
  192. .content {
  193.     background: none;
  194.     margin-bottom: 100px;
  195.     padding: 20px;
  196. }
  197.  
  198. /* NOTIFICATIONS TABLE */
  199. .table tr:nth-child(even) td,
  200. .table tr:nth-child(odd) td {
  201.     background: none;
  202.     border: none;
  203.     padding: 10px 13px;
  204. }
  205.  
  206. /* NOTIFICATIONS BUTTONS*/
  207. .notifications .btn {
  208.     text-transform: uppercase;
  209.     font-size: 11px;
  210. }
  211.  
  212. /* NOTIFICATIONS TEXT (NON LINKS) */
  213. tbody b {
  214.     font-weight: normal;
  215. }
  216.  
  217. /* TOP BANNER AD */
  218. .left-column .text-center.margin-10px {
  219.     display: none;
  220. }
  221.  
  222. /* HOME >> TOWNHALL >> VILLAGER */
  223. .breadcrumbs {
  224.     margin: 0 0 20px 0;
  225.     padding: 5px;
  226.     text-align: center;
  227.     border-radius: 20px;
  228.     text-transform: uppercase;
  229.     background: rgba(###,###,###,0.8);
  230. }
  231.  
  232. .breadcrumbs a {
  233.    font-weight: normal;
  234.    transition: none;
  235. }
  236.  
  237. .breadcrumbs li:after {
  238.     color: #fff !important;
  239. }
  240.  
  241. /* VILLAGER: NAME > BUTTONS */
  242. .content h1.clearfix {
  243.     color: rgb(***,***,***);
  244. }
  245.  
  246. .header-right-toolbar-buttons .btn {
  247.    width: 160px;
  248.    text-transform: uppercase;
  249.    text-shadow: none;
  250.    font-size: 12px;
  251.    background: rgba(###, ###, ###, 0.8);
  252.    color: rgb(***,***,***) !important;
  253. }
  254. .header-right-toolbar-buttons .btn:hover {
  255.    background: rgba(###,###,###,1);
  256. }
  257.  
  258. /* HEADERS */
  259. .content h2,
  260. h3 {
  261.     font-size: 16px;
  262.     text-transform: uppercase;
  263.     color:  #fff !important;
  264.     text-align: center;
  265. }
  266.  
  267. /* VILLAGER AVATAR + BG */
  268. /* recommended size is 675 px width and 410 px height */
  269. .villager-data-avatar {
  270.     background: url('VILLAGER BACKGROUND IMAGE URL HERE') no-repeat;
  271.     border-radius: 20px;
  272.     left: 20px;
  273.     margin-bottom: 20px !important;
  274. }
  275.  
  276. .villager-data-wrapper {
  277.    background: none;
  278. }
  279.  
  280. /* MINIPET BOX */
  281.  
  282. .villager-data-minipet {
  283.     background: none;
  284.     border: none;
  285.     height: 110px;
  286.     position: absolute;
  287.     top: 120px;
  288.     width: 125px;
  289.     right: 5px;
  290.     overflow: hidden;
  291. }
  292.  
  293. .villager-data-minipet:hover {
  294.     height: 200px;
  295.     width: 125px;
  296.     background: rgba(###,###,###,1);
  297. }
  298.  
  299. .villager-data-minipet i.fa.fa-exclamation-circle.red {
  300.     display: none;
  301. }
  302.  
  303. /* CAREER BOX */
  304. .villager-data .villager-career {
  305.     border: none;
  306.     position: absolute;
  307.     top: 0px;
  308.     right: 5px;
  309.     width: 125px;
  310. }
  311.  
  312. .villager-data .villager-career h3,
  313. .villager-data .villager-career hr,
  314. .villager-data .villager-career p {
  315.     display: none;
  316. }
  317.  
  318. /* FANCY BOX */
  319. .villager-data .villager-fancy {
  320.     background: none;
  321.     border: none;
  322.     height: 110px;
  323.     position: absolute;
  324.     top: 230px;
  325.     width: 125px;
  326.     right: 5px;
  327.     overflow: hidden;
  328.     margin: 0px;
  329. }
  330.  
  331. .villager-data .villager-fancy:hover {
  332.     height: 165px;
  333.     width: 125px;
  334.     background: rgba(###,###,###,1);
  335. }
  336.  
  337. /* KEEPSAKE BOX */
  338. .villager-data .villager-keepsake {
  339.     background: none;
  340.     border: none;
  341.     height: 110px;
  342.     position: absolute;
  343.     top: 287px;
  344.     width: 150px;
  345.     right: 200px;
  346.     overflow: hidden;
  347.     margin: 0;
  348. }
  349.  
  350. /* VILLAGER INFO (name, id, etc) */
  351. .villager-data .villager-general {
  352.     border: none;
  353.     border-radius: 20px;
  354.     padding: 10px;
  355.     background: rgba(###,###,###,0.8);
  356.     top: 20px;
  357.     left: 60px;
  358.     overflow: hidden;
  359.     position: absolute;
  360.     height: 35px;
  361.     width: 200px;
  362.     z-index: 1;
  363. }
  364.  
  365. .villager-data-info-box.villager-general:hover {
  366.     border: none;
  367.     border-radius: 20px;
  368.     padding: 10px;
  369.     background: rgba(###,###,###,1);
  370.     position: absolute;
  371.     height: 360px;
  372.     width: 50%;
  373. }
  374.  
  375. /* ABANDON VILLAGER LINK */
  376. .mute {
  377.     opacity: 1;
  378. }
  379.  
  380. /* PAINTIE BOX */
  381. .villager-paintie .report-paintie {
  382.     color: #a94442;
  383. }
  384.  
  385. .villager-data .villager-paintie {
  386.     background: rgba(###,###,###,0.8);
  387.     border: none;
  388.     border-radius: 20px;
  389.     width: 710px;
  390. }
  391.  
  392. .villager-data .villager-paintie .label-primary,
  393. .villager-data .villager-paintie .label-warning,
  394. .villager-data .villager-paintie .label-default,
  395. .villager-data .villager-paintie .label-success {
  396.    background-color: rgb(***,***,***) !important;
  397. }
  398.  
  399. .villager-paintie .report a {
  400.     position: fixed !important;
  401.     bottom: 70px;
  402. }
  403.  
  404. /* VILLAGER DESC */
  405. .villager-description {
  406.    padding: 15px;
  407.    border: none;
  408.    width: 710px;
  409.    border-radius: 20px;
  410.    background: rgba(###,###,###,0.8);
  411. }
  412.  
  413. /* TROPHIES */
  414. .villager-data-info-wide.villager-trophies.clearfix {
  415.     padding: 15px;
  416.     border: none;
  417.     width: 710px;
  418.     border-radius: 20px;
  419.     background: rgba(###,###,###,0.8);
  420. }
  421.  
  422. /* COMMENT FORM */
  423. .content .textarea {
  424.     border: none;
  425. }
  426.  
  427. /* POST BUTTON */
  428. .content .textarea + .btn {
  429.     text-transform: uppercase;
  430. }
  431.  
  432. /* USER COMMENTS */
  433. .user-comments {
  434.     height: 300px;
  435.     overflow: auto;
  436. }
  437.  
  438. /* USER COMMENTS BODY */
  439. .user-comments .user-comment {
  440.     width: 550px;
  441.     border: none;
  442. }
  443. .user-comments .user-comment .footer {
  444.     width: 515px;
  445.    color: #fff !important;
  446. }
  447. .user-comments .user-comment:after,
  448. .user-comments .user-comment:before {
  449.     border-right-color: rgba(###,###,###,0.5);
  450. }
  451.  
  452. /* USER COMMENTS AVATARS */
  453. .user-avatar-wrapper img {
  454.     margin: 10px;
  455.     border-radius: 47px;
  456.     width: 60px;
  457. }
  458.  
  459. /* PAGINATION */
  460. .content .pagination a {
  461.     background: rgba(###,###,###,0.5) !important;
  462.     border: 0 !important;
  463. }
  464. .content .pagination a:hover {
  465.     background: rgba(###,###,###,0.7) !important;
  466. }
  467. .content .active span {
  468.     z-index: 3;
  469.     border: 0 !important;
  470. }
  471. .content .pagination > .disabled > span,
  472. .content .pagination > .disabled > span:hover,
  473. .content .pagination > .disabled > span:focus,
  474. .content .pagination > .disabled > a,
  475. .content .pagination > .disabled > a:hover,
  476. .content .pagination > .disabled > a:focus {
  477.     background-color: rgba(###,###,###,0.2) !important;
  478.     border: 0 !important;
  479. }
  480.  
  481. /* "HI, USERNAME" */
  482. .user-info h4 {
  483.     text-transform: uppercase;
  484. /* you may choose a different font family for this */
  485.     font: 13px 'Helvetica';
  486.     padding-top: 5px;
  487.     padding-bottom: 5px;
  488. }
  489.  
  490. /* USER PANEL BODY TEXT */
  491. .right-column .widget .user-info p {
  492.     text-transform: uppercase;
  493. /* you may choose a different font family for this */
  494.     font: 11px 'Helvetica';
  495. }
  496.  
  497. /* WIDGET BODY */
  498. .widget-content {
  499.     border-radius: 0 0 20px 20px;
  500. }
  501.  
  502. /* WIDGET HEADER (blue border) */
  503. .content .widget-header {
  504.     border-bottom: none;
  505. }
  506.  
  507. /* WIDGET HEADER */
  508. .widget-header h3 {
  509.     border-radius: 20px 20px 0 0;
  510.     margin: 0;
  511.     padding: 10px 0 5px;
  512.     text-align: center;
  513.     text-shadow: none;
  514.     font-weight: normal;
  515.     color: rgb(***,***,***);
  516.     padding: 10px 0px;
  517.     text-transform: uppercase;
  518. /* you may choose a different font family for this */
  519.     font: 12px 'Helvetica';
  520.     border-bottom: 1px dotted #fff;
  521. }
  522.  
  523. /* VIEW MORE BUTTONS */
  524. .right-column .btn-link {
  525.     color: rgb(***,***,***) !important;
  526. }
  527. .right-column .btn-link:hover {
  528.     color: rgb(%%%,%%%,%%%) !important;
  529. }
  530.  
  531. /* RECENT ACTIVITY */
  532. .recent-posts .widget-content {
  533.     padding-bottom: 5px;
  534. }
  535. .recent-posts .forum-posts li:nth-child(even) {
  536.     background: none;
  537. }
  538. .widget .forum-posts p {
  539.    color: #fff !important;
  540. }
  541.  
  542. .widget .forum-posts li {
  543.    border-bottom: 1px solid #fff;
  544. }
  545.  
  546. /* USER PANEL ICON */
  547. .right-column .text-center img {
  548.     border-radius: 20px;
  549. }
  550.  
  551. /* LOGO IMAGE (SMALL, BOTTOM) */
  552. /* you may comment/delete this section if you like */
  553. .logo-small {
  554.     width: 110px;
  555.     overflow: hidden;
  556.     padding-left: 110px;
  557.     background: url('SMALL LOGO IMAGE URL HERE') center no-repeat !important;
  558. }
  559.  
  560. /* VILLAGER IMAGE (BOTTOM) */
  561. /* you may comment/delete this section if you like */
  562. .pets {
  563.     width: 269px;
  564.     overflow: hidden;
  565.     padding-left: 269px;
  566.     background: url('PETS IMAGE URL HERE');
  567. }
  568.  
  569. /* SOCIAL MEDIA ACCOUNTS LINKS (BOTTOM) */
  570. /* you may comment/delete this section if you like*/
  571. .social a {
  572.     width: 44px;
  573.     height: 44px;
  574.     display: inline-block;
  575. }
  576. .social img {
  577.     display: none;
  578. }
  579. .social a:first-child {
  580.     background: url('FACEBOOK ICON IMAGE URL HERE');
  581. }
  582. .social a:nth-child(2) {
  583.     background: url('TWITTER ICON IMAGE URL HERE');
  584. }
  585. .social a:last-child {
  586.     background: url('TUMBLR ICON IMAGE URL HERE');
  587. }
  588.  
  589. /* BOTTOM LINKS FOOTER */
  590. footer .bottom {
  591.     background-color: rgba(###,###,###,0.8);
  592.     border-radius: 20px;
  593.     padding: 5px;
  594. }
  595.  
  596. p.copyright.align-center {
  597.     background: url(https://i.imgur.com/GvXx9k5.png) no-repeat;
  598. }
  599.  
  600. /* FLOATING REPORT USER PROFILE */
  601. .report a {
  602.     position: fixed;
  603.     bottom: 30px;
  604.     left: 30px;
  605.     color: rgb(169, 68, 66);
  606.     border-radius: 5px;
  607.     padding: 5px;
  608. }
  609. .report a:hover {
  610.     color: #ed1c24;
  611. }
  612.  
  613. /* TOOLTIPSTER (dotted border under timestamp) */
  614. span.tooltipster {
  615.    border-bottom: 1px dashed rgb(***,***,***);
  616. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement