Advertisement
Guest User

linky-card.css

a guest
Oct 18th, 2018
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.80 KB | None | 0 0
  1. .clear {
  2.     clear: both;
  3.   }
  4.  
  5.   .card {
  6.     margin: auto;
  7.     padding-top: 2em;
  8.     padding-bottom: 1em;
  9.     padding-left: 1em;
  10.     padding-right:1em;
  11.     position: relative;
  12.   }
  13.  
  14.   .ha-icon {
  15.     height: 18px;
  16.     margin-right: 5px;
  17.     color: var(--paper-item-icon-color);
  18.   }
  19.  
  20.   .hp-hc-block {
  21.     float: left;
  22.     text-align: right;
  23.   }
  24.  
  25.   .cout-block {
  26.     float: left;
  27.   }
  28.  
  29.   .icon-block {
  30.     float: left;
  31.   }
  32.   .cout {
  33.     font-weight: 300;
  34.     font-size: 4em;
  35.     color: var(--primary-text-color);
  36.     position: absolute;
  37.     right: 0.8em;
  38.   }
  39.  
  40.   .cout-unit {
  41.     font-weight: 300;
  42.     font-size: 1.5em;
  43.     vertical-align: super;
  44.     color: var(--primary-text-color);
  45.     position: absolute;
  46.     right: 1em;
  47.     margin-top: -14px;
  48.     margin-right: 7px;
  49.   }
  50.  
  51.   .conso-hp {
  52.     font-weight: 200;
  53.     font-size: 2em;
  54.     color: var(--primary-text-color);
  55.   }
  56.  
  57.   .conso-hc {
  58.     font-weight: 200;
  59.     font-size: 2em;
  60.     color: var(--primary-text-color);
  61.   }
  62.  
  63.   .conso-unit-hc {
  64.     font-weight: 100;
  65.     font-size: 1em;
  66.     vertical-align: super;
  67.     color: var(--primary-text-color);
  68.     margin-top: -14px;
  69.     margin-right: 7px;
  70.   }
  71.  
  72.   .conso-unit-hp {
  73.     font-weight: 100;
  74.     font-size: 1em;
  75.     vertical-align: super;
  76.     color: var(--primary-text-color);
  77.     margin-top: -14px;
  78.     margin-right: 7px;
  79.   }
  80.  
  81.   .more-unit {
  82.     font-style: italic;
  83.     font-size: 0.8em;
  84.   }
  85.  
  86.   .variations-linky {
  87.     display: inline-block;
  88.     font-weight: 300;
  89.     color: var(--primary-text-color);
  90.     list-style: none;
  91.     margin-left: -2em;
  92.   }
  93.  
  94.   .variations-linky.right {
  95.     position: absolute;
  96.     right: 1em;
  97.     margin-left: 0;
  98.     margin-right: 1em;
  99.   }
  100.  
  101.   .unit {
  102.     font-size: .8em;
  103.   }
  104.  
  105.   .week-history {
  106.     width: 100%;
  107.     margin: 0 auto;
  108.     height: 4em;
  109.   }
  110.  
  111.   .day {
  112.     display: block;
  113.     width: 20%;
  114.     float: left;
  115.     text-align: center;
  116.     color: var(--primary-text-color);
  117.     border-right: .1em solid #d9d9d9;
  118.     line-height: 2;
  119.     box-sizing: border-box;
  120.   }
  121.  
  122.   .dayname {
  123.     text-transform: uppercase;
  124.   }
  125.  
  126.   .week-history .day:first-child {
  127.     margin-left: 0;
  128.   }
  129.  
  130.   .week-history .day:nth-last-child(1) {
  131.     border-right: none;
  132.     margin-right: 0;
  133.   }
  134.  
  135.   .cons-val {
  136.     font-weight: bold;
  137.   }
  138.  
  139.   .linky-icon.bigger {
  140.     width: 6em;
  141.     height: 5em;
  142.     margin-top: -1em;
  143.     margin-left: 2em;
  144.   }
  145.  
  146.   .linky-icon {
  147.     width: 50px;
  148.     height: 50px;
  149.     margin-right: 5px;
  150.     display: inline-block;
  151.     vertical-align: middle;
  152.     background-size: contain;
  153.     background-position: center center;
  154.     background-repeat: no-repeat;
  155.     text-indent: -9999px;
  156.   }
  157.  
  158.   .previous-month {
  159.     font-size: 0.8em;
  160.     font-style: italic;
  161.     margin-left: 5px;
  162.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement