Advertisement
x-venom

karta postaci #001

Jan 15th, 2021
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.62 KB | None | 0 0
  1. <style>
  2. @font-face {
  3. font-family:"UIcons";
  4. src:url("https://dl.dropboxusercontent.com/s/yspvz5brxawg79w/uicons-regular-rounded.woff");
  5. format("woff");
  6. }
  7.  
  8. :root {
  9. /*-można zmienić na własne kolorki, zmieniamy tylko te frag. > #xxxxxx-*/
  10. --byzantium: #783870ff;
  11. --lilac-luster: #b897abff;
  12. --black-shadows: #bdb2bdff;
  13. --byzantium-2: #701354ff;
  14. --old-lavender: #6b697aff;
  15. --fonti: 'Quicksand', sans-serif;
  16. /*-zdjęcie główne, przed najachaniem kursorem na karte-*/
  17. --zdj: url(adres-url);
  18. }
  19.  
  20. #top {
  21. background: var(--old-lavender);
  22. width: 45%;
  23. padding: 30px 0;
  24. border-radius: 8px;
  25. overflow: hidden;
  26. }
  27.  
  28. .text1 {
  29. display: inline-block;
  30. width: 50%;
  31. position: relative;
  32. right: -5%;
  33. color: #eee;
  34. font-family: 'arial';
  35. font-size: 12px;
  36. line-height: 1.4;
  37. }
  38.  
  39. .ico:before {
  40. content: "\f1d1";
  41. font-family: 'UIcons';
  42. position: relative;
  43. display: inline-block;
  44. padding: 46px;
  45. margin: -1em 0;
  46. font-size: 42px;
  47. border-radius: 100%;
  48. color: var(--byzantium-2);
  49. background: var(--black-shadows);
  50. }
  51.  
  52. #bottom {
  53. position: relative;
  54. top: 1em;
  55. background: var(--old-lavender);
  56. width: 45%;
  57. height: 35vh;
  58. padding: 30px 0;
  59. border-radius: 8px;
  60. overflow: hidden;
  61. }
  62.  
  63. #bottom .bg {
  64. position: relative;
  65. top: -2em;
  66. left: -2em;
  67. background: var(--zdj);
  68. background-size: 100%;
  69. width: 122%;
  70. height: 122%;
  71. overflow: hidden;
  72. z-index: 99;
  73. transition: all .4s;
  74. }
  75.  
  76. #bottom:hover .bg {
  77. filter: blur(2px) brightness(90%) contrast(40%);
  78. transition: all .4s;
  79. }
  80.  
  81. .text2, .lista, .name, .ikona1, .ikona {
  82. position: absolute;
  83. z-index: 99999;
  84. }
  85.  
  86. /*- DLUGI TEKST -*/
  87.  
  88. .text2 {
  89. top: 1em;
  90. left: -20em;
  91. width: 20vw;
  92. height: 38vh;
  93. overflow: hidden;
  94. background:#efefef;
  95. border-radius: 0 20px 20px 0;
  96. transition: all .6s;
  97. }
  98.  
  99. #bottom:hover .text2 {
  100. left: 1em;
  101. transition: all .6s;
  102. }
  103.  
  104. .text2 h2 {
  105. text-align: center;
  106. font-family: var(--fonti);
  107. padding: 32px 0;
  108. color: var(--byzantium);
  109. border-left: 3px solid var(--byzantium);
  110. }
  111.  
  112. .t-content {
  113. text-align: justify;
  114. font-family: 'arial';
  115. font-size: 14px;
  116. line-height: 1.4;
  117. position: relative;
  118. top: 1em;
  119. padding: 0 16px 16px 16px;
  120. width: 16vw;
  121. height: 31vh;
  122. overflow: auto;
  123. margin-bottom: 2em;
  124. }
  125.  
  126. .t-content::-webkit-scrollbar {
  127. background-color: rgba(255, 255, 255, .001);
  128. width: 4px;
  129. height: 4px;
  130. }
  131.  
  132. .t-content::-webkit-scrollbar-thumb {
  133. background-color: var(--byzantium);
  134. border-radius: 6px;
  135. }
  136.  
  137. /*- IMIE I NAZWISKO -*/
  138. .name {
  139. background: var(--old-lavender);
  140. top: -15em;
  141. right: 1em;
  142. border-radius: 0 0 20px 20px;
  143. width: 45%;
  144. max-height: 25%;
  145. min-height: 25%;
  146. line-height: 1.2;
  147. font-family: var(--fonti);
  148. font-size: 20px;
  149. color: var(--black-shadows);
  150. text-shadow: 2px 2px 0 rgb(0, 0, 0, .1);
  151. transition: all .6s;
  152. }
  153.  
  154. #bottom:hover .name {
  155. top: 1em;
  156. transition: all .6s;
  157. tranisition-delay: .3s;
  158. }
  159.  
  160. /*- IKONA -*/
  161. .ikona1 {
  162. top: 8em;
  163. right: -20em;
  164. width: 45%;
  165. height: 25%;
  166. background-image: url(https://funkyimg.com/i/34rbr.gif);
  167. background-size: 100%;
  168. background-position: center center;
  169. border-radius: 20px 0 0 20px;
  170. transition: all .6s;
  171. }
  172.  
  173. #bottom:hover .ikona1 {
  174. right: 1.25em;
  175. transition: all .6s;
  176. transition-delay: .1s;
  177. }
  178.  
  179. /*- LISTA -*/
  180. .lista {
  181. top: 30em;
  182. right: 1.65em;
  183. width: 45%;
  184. height: 27%;
  185. background: var(--black-shadows);
  186. border-radius: 20px 20px 0 0;
  187. font-family: 'arial';
  188. font-size: 12px;
  189. overflow: hidden;
  190. transition: all .6s;
  191. }
  192.  
  193. .lista ul li {
  194. list-style: none;
  195. margin-left: -25px;
  196. }
  197.  
  198. .lista li {
  199. box-shadow: 0 -1px 0 inset var(--old-lavender);
  200. padding: 0;
  201. width: 110%;
  202. margin: 0 0 1em 0;
  203. position: relative;
  204. left: -.5em;
  205. }
  206.  
  207. .lista u {
  208. text-decoration: none;
  209. background: var(--old-lavender);
  210. text-transform: uppercase;
  211. font-size: 10px;
  212. padding: 1px 3px;
  213. color: var(--black-shadows);
  214. float: left;
  215. display: inline-block;
  216. width: 50%;
  217. letter-spacing: .5px;
  218. }
  219.  
  220. .l-cont {
  221. position: relative;
  222. top: 1em;
  223. display: block;
  224. width: 90%;
  225. height: 80%;
  226. overflow: auto;
  227. }
  228.  
  229. .l-cont::-webkit-scrollbar {
  230. background-color: rgba(255, 255, 255, .001);
  231. width: 4px;
  232. height: 4px;
  233. }
  234.  
  235. .l-cont::-webkit-scrollbar-thumb {
  236. background-color: var(--byzantium);
  237. border-radius: 6px;
  238. }
  239.  
  240. #bottom:hover .lista {
  241. top: 19.5em;
  242. transition: all .6s;
  243. transition-delay: .2s;
  244. }
  245.  
  246. #cre {
  247. display: block;
  248. position: relative;
  249. top: 3em;
  250. width: 10%;
  251. z-index: 99999;
  252. padding: 2px 8px;
  253. text-transform: uppercase;
  254. font-size: 6px;
  255. background: rgba(0, 0, 0, .1);
  256. letter-spacing: 4px;
  257. font-family: 'arial';
  258. color: var(--byzantium) !important;
  259. transition: .4s ease-in-out;
  260. }
  261.  
  262. #cre span {
  263. font-size: 8px;
  264. }
  265.  
  266. #cre a {
  267. color: var(--byzantium) !important;
  268. text-decoration: none;
  269. }
  270. </style>
  271.  
  272. <!-- FONTS -->
  273. <link rel="preconnect" href="https://fonts.gstatic.com">
  274. <link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap" rel="stylesheet">
  275.  
  276. <!-- KOD - KARTA POSTACI #001 -->
  277. <center>
  278. <div id="top">
  279. <div class="ico"/>
  280. <div class="text1">
  281. Phasellus consequat erat a justo laoreet, eu egestas risus accumsan. Nam non justo nibh. Duis consequat turpis ut egestas feugiat.
  282. </div>
  283. </div>
  284. </center>
  285.  
  286. <center>
  287. <div id="bottom">
  288. <img class="bg" src="https://funkyimg.com/i/3a1RS.jpg"/>
  289. <div class="name"><h2>Imię i nazwisko</h2></div>
  290. <div class="text2">
  291. <div class="t-content">
  292. <h2>Charakter</h2>Fusce non ante ut sapien scelerisque iaculis in ac elit. Praesent pretium arcu et erat interdum mollis. Aenean egestas arcu id purus tempus congue. Praesent ullamcorper eu tortor non suscipit. Nunc nec nisi a ex dapibus dictum sagittis ac nulla. Curabitur eleifend mollis pretium. Sed hendrerit aliquet semper. Morbi nec dapibus tortor.
  293. <h2>Przyjaciele</h2>Maecenas auctor condimentum eros at condimentum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In hac habitasse platea dictumst. Aliquam efficitur ultrices cursus. In ut justo cursus, elementum libero a, molestie sem.
  294. <h2>Związki</h2>Nullam ultricies leo a eros vehicula, nec volutpat turpis fermentum. Nunc aliquam magna eu convallis hendrerit. Vestibulum dictum fermentum pulvinar.Aenean consectetur ipsum nec eros efficitur euismod. Praesent tristique felis ut metus rhoncus viverra. Etiam tincidunt sit amet dui porta consectetur. Vestibulum vitae quam sit amet turpis congue porta. Donec faucibus sodales libero ut volutpat. Suspendisse vulputate risus lorem, tincidunt placerat erat volutpat id.
  295. <h2>Hobby</h2>Mauris fermentum euismod odio, et dapibus urna hendrerit sed. Duis vel felis eros. Morbi congue rhoncus lobortis. Duis pulvinar sollicitudin dolor id tincidunt. Nam venenatis, ligula at porta posuere, lectus lacus tincidunt neque, a ultrices mi augue non nunc. Vivamus tristique urna quam, eu gravida dui viverra ac. Donec lacinia congue ipsum.
  296. Curabitur id ligula nec nisl fermentum euismod. Aenean felis nunc, eleifend non ligula at, congue efficitur sapien. Nam iaculis hendrerit pulvinar.</div></div>
  297. <div class="ikona1"></div>
  298. <div class="lista">
  299. <div class="l-cont">
  300. <ul>
  301. <li><u>Imię</u> Alice</li>
  302. <li><u>Nazwisko</u> Smith</li>
  303. <li><u>Wiek</u> 22 lata</li>
  304. <li><u>Znak zodiaku</u> Skorpion</li>
  305. <li><u>Praca</u> Kucharka</li>
  306. </ul>
  307. </div>
  308. </div>
  309. </div>
  310. <div id="cre"><a href="https://xvenom-codes.blogspot.com/"><span>&#169;</span>xvenom</a></div>
  311. </center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement