Advertisement
NecromancerCoding

Narcissa App CSS

Apr 7th, 2019
1,006
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.28 KB | None | 0 0
  1. .narcissa {
  2.   margin: 10px auto;
  3.   width: 502px;
  4.   height: 601px;
  5.   padding: 11px;
  6.   background: #ddd;
  7.   border: 5px solid #eee;
  8.   outline: 1px solid #ccc;
  9. }
  10. .narcissa br {
  11.   display: none;
  12. }
  13. .narcissadato p br {
  14.   display: block;
  15. }
  16. .narcissabody {
  17.   width: 502px;
  18.   height: 601px;
  19.   box-sizing: border-box;
  20.   padding: 20px;
  21.   background: #eee;
  22.   border: 1px solid #ddd;
  23.   outline: 10px solid #fff;
  24. }
  25. .narcissa .narcissaheader {
  26.   background: #aaa;
  27.   padding: 20px 0;
  28.   font: 30px Playfair Display;
  29.   color: white;
  30.   text-align: center;
  31.   letter-spacing: -1px;
  32.   font-weight: bold;
  33.   font-style: italic;
  34.   text-transform: lowercase;
  35.   line-height: 30px;
  36. }
  37. .narcissa .narcissaheader span {
  38.   display: block;
  39.   font: 10px calibri;
  40.   text-transform: uppercase;
  41.   border-top: 1px solid rgba(0, 0, 0, 0.1);
  42.   margin: 0 20px;
  43.   letter-spacing: 0px;
  44. }
  45. .narcissaimg {
  46.   background-image: url(http://via.placeholder.com/460x465);
  47.   width: 460px;
  48.   height: 465px;
  49.   margin-top: 10px;
  50.   position: absolute;
  51.   overflow: hidden;
  52. }
  53. .narcissadatos {
  54.   background: #f5f5f5;
  55.   outline: 1px solid rgba(0, 0, 0, 0.1);
  56.   width: 420px;
  57.   height: 425px;
  58.   position: absolute;
  59.   bottom: -425px;
  60.   left: -420px;
  61.   box-sizing: border-box;
  62.   padding: 10px;
  63.   transition: ease 1s;
  64. }
  65. .narcissaimg:hover .narcissadatos {
  66.   bottom: 20px;
  67.   left: 20px;
  68. }
  69. .narcissadatos img {
  70.   float: left;
  71.   border: 5px solid #fff;
  72.   outline: 1px solid #ddd;
  73. }
  74. .narcissadato {
  75.   background: #eee;
  76.   border: 1px solid #fff;
  77.   outline: 1px solid #ddd;
  78.   margin-left: 120px;
  79.   width: 280px;
  80.   height: 195px;
  81. }
  82. .narcissadatos img + .narcissadato {
  83.   margin-bottom: 10px;
  84. }
  85. .narcissadato h1,
  86. .narcissadato p {
  87.   margin: 0px;
  88. }
  89. .narcissadato h1 {
  90.   background: #ddd;
  91.   color: #666;
  92.   font: 10px calibri;
  93.   text-transform: uppercase;
  94.   font-weight: 900;
  95.   height: 20px;
  96.   line-height: 20px;
  97.   text-align: center;
  98. }
  99. .narcissadato p {
  100.   margin: 5px;
  101.   padding-right: 3px;
  102.   height: 165px;
  103.   overflow: auto;
  104.   font: 10px verdana;
  105. }
  106. .ncredit {
  107.   width: 535px;
  108.   text-align: right;
  109.   margin: 0 auto;
  110.   display: block;
  111.   font-size: 10px;
  112.   text-decoration: none;
  113.   font: 8px verdana;
  114. }
  115. .narcissa + br + .ncredit {
  116.   margin-top: -15px;
  117. }
  118. .ncredit:before {
  119.   content: "©";
  120. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement