NecromancerCoding

Lupin RS CSS

Feb 16th, 2019
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.15 KB | None | 0 0
  1. .lupin {
  2.   --bckg-1:#fafafa;
  3.   --bckg-2:#f1f1f1;
  4.   --bckg-3:#e0e0e0;
  5.   --bckg-4:#ddd;
  6.   --border-1:#fff;
  7.   --border-2:#ccc;
  8.   --accent-1:#b76e60;
  9.   --accent-2:#96594c;
  10.   --txt-1:#96594c;
  11.   --txt-2:#333;
  12. }
  13.  
  14. .lupin {
  15.   width: 450px;
  16.   height: 450px;
  17.   border: 1px solid var(--border-2);
  18.   outline: 1px solid var(--border-1);
  19.   background: var(--bckg-1);
  20.   margin: 0 auto;
  21.   position: relative;
  22.   overflow: hidden;
  23. }
  24. .lnombre {
  25.   text-align: center;
  26.   font: 30px raleway;
  27.   text-transform: uppercase;
  28.   color: var(--txt-1);
  29.   font-weight: 900;
  30.   text-align: center;
  31.   position: absolute;
  32.   width: 350px;
  33.   top: 90px;
  34.   right: 50%;
  35.   transform: translateX(50%);
  36.   transition: ease 1s;
  37.   white-space: nowrap;
  38.   transition-delay: 1s;
  39. }
  40. .licono {
  41.   width: 150px;
  42.   height: 150px;
  43.   background-size: cover;
  44.   background-position: center;
  45.   border-radius: 100%;
  46.   position: absolute;
  47.   left: 140px;
  48.   top: 150px;
  49.   border: 5px solid var(--accent-1);
  50.   transform: rotateY(0deg);
  51.   transition: ease 1s;
  52.   cursor:pointer;
  53. }
  54. .lfrase {
  55.   color: var(--txt-1);
  56.   position: absolute;
  57.   bottom: 90px;
  58.   font: 10px times new roman;
  59.   left: 50%;
  60.   transform: translateX(-50%);
  61.   text-align: center;
  62.   line-height: 10px;
  63.   height: 10px;
  64.   font-style: italic;
  65.   transition: ease 1s;
  66.   transition-delay: 1s;
  67. }
  68. .lfrase:before {
  69.   content: "“";
  70.   font-size: 70px;
  71.   position: absolute;
  72.   left: -44px;
  73.   top: 17px;
  74. }
  75. .lfrase:after {
  76.   content: "”";
  77.   font-size: 70px;
  78.   position: absolute;
  79.   right: -28px;
  80.   top: 18px;
  81. }
  82. .lrango {
  83.   font: 15px raleway;
  84.   text-transform: uppercase;
  85.   color: var(--txt-1);
  86.   font-weight: 900;
  87.   text-align: center;
  88.   position: absolute;
  89.   width: 170px;
  90.   left: -170px;
  91.   text-align: center;
  92.   top: 34px;
  93.   transition: ease 1s;
  94.   box-sizing: border-box;
  95.   padding-right: 0px;
  96.   transition-delay: 1s;
  97. }
  98. .limg {
  99.   background-size:cover;
  100.   background-position:center;
  101.   width: 450px;
  102.   height: 100px;
  103.   position: absolute;
  104.   bottom: -100px;
  105.   left: 0px;
  106.   transition: ease 1.5s;
  107.   transition-delay: 0s;
  108. }
  109. .limg:before {
  110.   content: "";
  111.   display: block;
  112.   width: 0;
  113.   height: 0;
  114.   border-style: solid;
  115.   border-width: 0 450px 18px 0;
  116.   border-color: transparent var(--bckg-1) transparent transparent;
  117. }
  118. .limg a{
  119.   background:var(--bckg-2);
  120.   width:30px;
  121.   height:30px;
  122.   color:var(--txt-1);
  123.   font-size:13px;
  124.   display:block;
  125.   border-radius:3px;
  126.   text-align:center;
  127.   box-sizing: border-box;
  128.   padding-top: 8px;
  129.   position:absolute;
  130.   right:25px;
  131.   bottom:25px;
  132.   transition:ease 0.5s;
  133. }
  134. .limg a:hover{
  135.   background:var(--accent-1);
  136.   color:white;
  137. }
  138. .lcaja h6 {
  139.   background: var(--accent-1);
  140.   margin: -10px 10px -10px -10px;
  141.   width:25px;
  142.   height: 120px;
  143.   border-radius:3px 0 0 3px;
  144.   overflow:hidden;
  145.   display:inline-block;
  146.   vertical-align:top;
  147. }
  148. .lcaja h6 i {
  149.   height: 23px;
  150.   color:white;
  151.   width: 23px;
  152.   display: block;
  153.   font-size: 11px;
  154.   margin-right: 10px;
  155.   text-align: center;
  156.   line-height: 22px;
  157.   position:relative;
  158.   left:1px;
  159.   top:50%;
  160.   transform:translateY(-50%);
  161. }
  162. .lcaja {
  163.   background: var(--bckg-2);
  164.   border: 10px solid var(--bckg-2);
  165.   margin: 10px 10px 0;
  166.   text-align: justify;
  167.   color: var(--txt-2);
  168.   width: 190px;
  169.   position:absolute;
  170.   height:100px;
  171. }
  172. .lcaja p {
  173.   overflow: auto;
  174.   margin: 0 auto;
  175.   font: 11px calibri;
  176.   line-height: 12px;
  177.   width:165px;
  178.   height: 100px;
  179.   display:inline-block;
  180.   text-align:center;
  181.   vertical-align:top;
  182. }
  183. .lcaja4 p{
  184.   text-align:justify;
  185.   padding-right:5px;
  186.   width:160px;
  187. }
  188. .lcaja span{
  189.   display:block;
  190.   background:var(--bckg-3);
  191.   height:30px;
  192.   font:9px calibri;
  193.   text-transform:uppercase;
  194.   font-weight:700;
  195.   line-height:30px;
  196.   margin:0 auto 5px;
  197.   position:relative;
  198.   overflow:hidden;
  199. }
  200. .lcaja span:before{
  201.   content: attr(rs);
  202.   background:var(--bckg-4);
  203.   height:30px;
  204.   display:block;
  205.   position:absolute;
  206.   width:100%;
  207.   top:-30px;
  208.   transition:ease 0.5s;
  209. }
  210. .lcaja span:hover:before{
  211.   top:0px;
  212. }
  213. .lcaja span:last-of-type{
  214.   margin-bottom:0px;
  215. }
  216. .lcaja1 {
  217.   top:80px;
  218.   left:-220px;
  219.   border-radius:5px 3px 3px 5px;
  220. }
  221. .lcaja2, .lcaja4 {
  222.   top:80px;
  223.   right:-220px;
  224.   border-radius:3px 5px 5px 3px;
  225. }
  226. .lcaja4{
  227.   top:210px;
  228. }
  229. .lcaja3 {
  230.   top:210px;
  231.   left:-220px;
  232.   border-radius:5px 3px 3px 5px;
  233. }
  234. .lcaja2 h6, .lcaja4 h6{
  235.   border-radius:0 3px 3px 0;
  236.   margin: -10px -10px -10px 10px;
  237. }
  238. .lcaja1 p, .lcaja2 p, .lcaja3 p{
  239.   height:100px;
  240. }
  241. .lupin input{
  242.   display:none;
  243. }
  244. .lupin input:checked ~ label .licono {
  245.   top: 10px;
  246.   left: 190px;
  247.   width: 60px;
  248.   height: 60px;
  249.   transform: rotateY(360deg);
  250.   transition-delay: 1s;
  251.   border-width: 2px;
  252. }
  253. .lupin input:checked ~ .lnombre {
  254.   font-size: 15px;
  255.   top: 34px;
  256.   transform: translateX(0%);
  257.   right: 10px;
  258.   width: 170px;
  259.   transition-delay: 0s;
  260. }
  261. .lupin input:checked ~ .lrango {
  262.   left: 10px;
  263.   transition-delay: 0s;
  264. }
  265. .lupin input:checked ~ .lfrase {
  266.   bottom: -20px;
  267.   transition-delay: 0s;
  268. }
  269. .lupin input:checked ~ .limg {
  270.   transition-delay: 1s;
  271.   bottom: 0px;
  272. }
  273. .lcaja {
  274.   transition:ease 1s;
  275.   transition-delay:0s;
  276. }
  277. .lupin input:checked ~ .lcaja1, .lupin input:checked ~ .lcaja3{
  278.   left:0px;
  279. }
  280. .lupin input:checked ~ .lcaja2, .lupin input:checked ~ .lcaja4{
  281.   right:0px;
  282. }
  283. .lupin input:checked ~ .lcaja1{
  284.   transition-delay:2s;
  285. }
  286. .lupin input:checked ~ .lcaja2{
  287.   transition-delay:2.2s;
  288. }
  289. .lupin input:checked ~ .lcaja3{
  290.   transition-delay:2.4s;
  291. }
  292. .lupin input:checked ~ .lcaja4{
  293.   transition-delay:2.6s;
  294. }
  295. .lupin .lcaja p::selection, .lupin .lcaja span::selection, .lupin>div::selection{
  296.   background:#f2917b;
  297.   color:white;
  298. }
  299. .lupin p::-webkit-scrollbar {
  300.   width: 5px;
  301.   height: 5px;
  302. }
  303. .lupin p::-webkit-scrollbar-thumb {
  304.   background: var(--accent-1);
  305.   border:1px solid var(--bckg-2);
  306. }
  307. .lupin p::-webkit-scrollbar-track {
  308.   background: var(--accent-2);
  309.   border:2px solid var(--bckg-2);
  310. }
  311. .ncredit{
  312.   width:490px;
  313.   text-align:right;
  314.   margin:0px auto;
  315.   display:block;
  316.   font-size:10px;
  317.   text-decoration:none;
  318.   font:8px verdana;
  319. }
  320. .lupin+br+.ncredit{
  321.   margin-top:-20px;
  322. }
  323. .ncredit:before{
  324.   content:"©";
  325. }
Add Comment
Please, Sign In to add comment