Advertisement
NecromancerCoding

Sirius Application (CSS)

Feb 15th, 2019
727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.45 KB | None | 0 0
  1. .sirius{
  2.   --bckg-1: #f3f3f3;
  3.   --bckg-2: #f1f1f1;
  4.   --border: #ccc;
  5.   --accent-1: #651911;
  6.   --accent-2: #48170f;
  7.   --txt: #555;
  8. }
  9. .sirius{
  10.   background:var(--bckg-1);
  11.   width:450px;
  12.   height:500px;
  13.   position:relative;
  14.   overflow:hidden;
  15.   margin:0 auto;
  16. }
  17. .sirius>br, .scajas>br, .sdatos2>br{
  18.   display:none;
  19. }
  20. .simg1{
  21.   position:absolute;
  22.   top:0px;
  23.   left:0px;
  24.   width:400px;
  25.   height:500px;
  26.   z-index:0;
  27. }
  28. .simg2{
  29.   position:absolute;
  30.   width:150px;
  31.   height:500px;
  32.   top:0px;
  33.   left:-150px;
  34.   z-index:2;
  35.   transition:1s ease;
  36.   filter: brightness(100%);
  37. -webkit-filter: brightness(100%);
  38. }
  39. .sdatos:hover ~ .simg2{
  40. filter: brightness(50%);
  41. -webkit-filter: brightness(50%);
  42. }
  43. .sdatos{
  44.   position:absolute;
  45.   top:0px;
  46.   left:-150px;
  47.   width:150px;
  48.   height:500px;
  49.   text-align:center;
  50.   font:9px calibri;
  51.   font-weight:bold;
  52.   text-transform:uppercase;
  53.   z-index:3;
  54.   opacity:0;
  55.   display:flex;
  56.   justify-content:center;
  57.   align-items:center;
  58. }
  59. .sdatos:hover span {
  60.   transform:scale(1);
  61. }
  62. .sdatos span{
  63.   color:white;
  64.   display:block;
  65.   margin:0 10px;
  66.   transition:1s ease;
  67.   transform:scale(0);
  68.   padding:4px 0;
  69.   line-height:12px;
  70.   height:11px;
  71.   border-bottom:1px solid rgba(255,255,255,0.5);
  72. }
  73. .sdatos span:last-child{
  74.   border-bottom:0px;
  75. }
  76. .scajas{
  77.   background:var(--bckg-1);
  78.   width:250px;
  79.   height:500px;
  80.   position:absolute;
  81.   top:0px;
  82.   left:-250px;
  83.   z-index:3;
  84. }
  85. .scaja h6{
  86.   background:#e4e4e4;
  87.   margin:-10px -10px 10px;
  88.   height:25px;
  89.   text-transform:uppercase;
  90.   font:9px calibri;
  91.   font-weight:bold;
  92.   text-align:left;
  93.   color:var(--txt);
  94.   line-height:25px;
  95.   border-bottom:1px solid var(--border);
  96. }
  97. .scaja h6 i{
  98.   background:var(--accent-1);
  99.   height:27px;
  100.   width:27px;
  101.   position:relative;
  102.   margin:-1px 10px -1px -1px;
  103.   display:inline-block;
  104.   color:white;
  105.   vertical-align:top;
  106.   font-size:10px;
  107.   float:left;
  108.   text-align:center;
  109.   line-height:25px;
  110. }
  111. .scaja{
  112.   background:var(--bckg-2);
  113.   border:10px solid var(--bckg-2);
  114.   outline:1px solid var(--border);
  115.   margin:10px 10px 0;
  116.   text-align:justify;
  117.   color:var(--txt);
  118. }
  119. .scaja p{
  120.   padding-right:5px;
  121.   overflow:auto;
  122.   margin:0 auto;
  123.   font:11px calibri;
  124.   line-height:12px;
  125. }
  126. .scaja1 p{
  127.   height:115px;
  128. }
  129. .scaja2 p{
  130.   height:265px;
  131. }
  132. .scaja b, .scaja strong, .scaja a{
  133.   color:var(--accent-1);
  134. }
  135. .scaja a{
  136.   text-decoration:underline;
  137. }
  138. .scaja1{
  139.   height:140px;
  140. }
  141. .scaja2{
  142.   height:290px;
  143. }
  144. .sirius div::selection, .sirius p::selection, .sirius b::selection, .sirius strong::selection, .sirius a::selection{
  145.   background:var(--accent-2);
  146.   color:white;
  147. }
  148. .simg1{
  149.   transition:ease 1s;
  150. }
  151. .simg2, .sdatos{
  152.   transition:ease 1s;
  153. }
  154. .scajas{
  155.   transition:ease 1s;
  156.   transition-delay:0s;
  157. }
  158. .stitulo {
  159.   background:var(--accent-1);
  160.   height:500px;
  161.   width:50px;
  162.   position:absolute;
  163.   top:0px;
  164.   right:0px;
  165.   cursor:pointer;
  166. }
  167. .stitulo span{
  168.   width:20px;
  169.   display:block;
  170.   font-size:28px;
  171.   word-wrap: break-word;
  172.   font-family:raleway;
  173.   font-weight:bold;
  174.   color:white;
  175.   text-align:center;
  176.   line-height:25px;
  177.   position:absolute;
  178.   left:15px;
  179.   top:500px;
  180.   transition:ease 1s;
  181. }
  182. .stitulo em{
  183.   width:20px;
  184.   display:block;
  185.   font-size:28px;
  186.   word-wrap: break-word;
  187.   font-family:raleway;
  188.   font-weight:bold;
  189.   font-style:normal;
  190.   color:white;
  191.   text-align:center;
  192.   line-height:25px;
  193.   position:absolute;
  194.   left:15px;
  195.   bottom:15px;
  196.   margin:0 auto;
  197.   transition:ease 1s;
  198.   transition-delay:0.5s;
  199. }
  200. .sirius p::-webkit-scrollbar {
  201.   width: 5px;
  202.   height: 5px;
  203. }
  204. .sirius p::-webkit-scrollbar-thumb {
  205.   background: var(--accent-1);
  206.   border:1px solid var(--bckg-2);
  207. }
  208. .sirius p::-webkit-scrollbar-track {
  209.   background: var(--accent-2);
  210.   border:2px solid var(--bckg-2);
  211. }
  212. .sirius input{
  213.   display:none;
  214. }
  215. .sirius input:checked ~ .simg1{
  216.   left:400px;
  217. }
  218. .sirius input:checked ~ .simg2, .sirius input:checked ~ .sdatos{
  219.   left:0px;
  220. }
  221. .sirius input:checked ~ .sdatos{
  222.   opacity:1;
  223. }
  224. .sirius input:checked ~ .scajas{
  225.   left:150px;
  226. }
  227. .sirius input:checked ~ label .stitulo span{
  228.   top:15px;
  229.   transition-delay:0.5s;
  230. }
  231. .sirius input:checked ~ label .stitulo em{
  232.   bottom:500px;
  233.   transition-delay:0s;
  234. }
  235. .ncredit{
  236.   width:450px;
  237.   text-align:right;
  238.   margin:0 auto;
  239.   display:block;
  240.   font-size:10px;
  241.   text-decoration:none;
  242.   font:8px verdana;
  243. }
  244. .sirius+br+.ncredit{
  245.   margin-top:-20px;
  246. }
  247. .ncredit:before{
  248.   content:"©";
  249. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement