tatman

css

Jun 8th, 2023
953
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.14 KB | None | 0 0
  1. @import url(https://fonts.googleapis.com/css?family=Roboto:400,100,900);
  2.  
  3. :root{
  4.   --orange-darkest: rgba(255,125,0,1);
  5.   --orange-dark: rgba(255,134,0,0.5);
  6.   --orange-light: rgba(255,165,0,0.5);
  7.  
  8.   --blue-darkest: #433a3f;
  9.   --blue-dark: #5b7c99;
  10.   --blue-light: #246374;
  11.   --blue-lightest: #b5c1ca;
  12.  
  13.   --blue-grey-light: #acbacd;
  14.   --blue-grey-dark: #808994;
  15.   --blue-grey-darkest: #5a6475;
  16.  
  17.   --grey-dark: rgb(190, 190, 190);
  18.   --grey-darkest: rgb(100, 100, 100);
  19.  
  20.   --shade-background: var(--grey-darkest);
  21.   --box-shadow--hover-color: #f5e7cb;
  22.   --box-shadow-color: var(--blue-grey-dark);
  23.   --box-shadow-light-color: var(--blue-grey-light);
  24.   --card-background: var(--grey-dark);
  25.   --column-shadow-color: var(--blue-lightest);
  26.   --column-text-color: var(--blue-grey-dark);
  27. }
  28.  
  29. html,
  30. body {
  31.   -moz-box-sizing: border-box;
  32.        box-sizing: border-box;
  33.   height: 100%;
  34.   width: 100%;
  35.   background: var(--shade-background);
  36.   font-family: 'Roboto', sans-serif;
  37.   font-weight: 400;
  38. }
  39.  
  40. .column
  41. {
  42.   float: left;
  43.   width: 30.00%;
  44.   padding: 10px;
  45.   height: 70px;
  46.   box-shadow: 0 2px 5px 0 var(--column-shadow-color),0 2px 10px 0 var(--column-shadow-color);
  47.   background-color: #FFFFFF;
  48.   color: var(--column-text-color);
  49. }
  50.  
  51. .wrapper {
  52.   display: table;
  53.   height: 100%;
  54.   width: 100%;
  55. }
  56.  
  57. .container-fostrap {
  58.   display: table-cell;
  59.   padding: 1em;
  60.   text-align: center;
  61.   vertical-align: middle;
  62. }
  63. .fostrap-logo {
  64.   width: 300px;
  65.   margin-bottom:15px
  66. }
  67. h1.heading {
  68.   color: #fff;
  69.   font-size: 1.15em;
  70.   font-weight: 900;
  71.   margin: 0 0 0.5em;
  72.   color: #505050;
  73. }
  74. @media (min-width: 450px) {
  75.   h1.heading {
  76.     font-size: 3.55em;
  77.   }
  78. }
  79. @media (min-width: 760px) {
  80.   h1.heading {
  81.     font-size: 3.05em;
  82.   }
  83. }
  84. @media (min-width: 900px) {
  85.   h1.heading {
  86.     font-size: 3.25em;
  87.     margin: 0 0 0.3em;
  88.   }
  89. }
  90. .card {
  91.   display: block;
  92.   margin-left: 60px;
  93.   margin-right: 60px;
  94.   margin-bottom: 60px;
  95.   line-height: 1.42857143;
  96.   background-color: #fff;
  97.   border-radius: 2px;
  98.   box-shadow: 0 2px 5px 0 var(--box-shadow-color),0 2px 10px 0 var(--box-shadow-light-color);
  99.   transition: box-shadow .25s;
  100.  
  101. }
  102. .card:hover {
  103.   box-shadow: 0 8px 17px 0 var(--box-shadow--hover-color),0 2px 10px 0 var(--box-shadow-light-color);
  104. }
  105. .img-card {
  106.   width: 100%;
  107.   height:200px;
  108.   border-top-left-radius:2px;
  109.   border-top-right-radius:2px;
  110.   display:block;
  111.     overflow: hidden;
  112. }
  113. .img-card img{
  114.   width: 100%;
  115.   height: 200px;
  116.   object-fit:cover;
  117.   transition: all .25s ease;
  118. }
  119. .card-content {
  120.   padding:30px;
  121.   text-align:left;
  122.   color: white;
  123.   background-color: var(--card-background)
  124. }
  125. .card-title {
  126.   margin-top:0px;
  127.   font-weight: 700;
  128.   color: white;
  129.   font-size: 1.65em;
  130. }
  131. .card-title a {
  132.   color: white;
  133.   text-decoration: none !important;
  134. }
  135. .card-read-more {
  136.   border-top: 1px solid #D4D4D4;
  137.   color: white;
  138.   background-color: var(--card-background)
  139. }
  140. .card-read-more a {
  141.   text-decoration: none !important;
  142.   padding:10px;
  143.   font-weight:400;
  144.   color: white;
  145.   text-transform: uppercase
  146. }
  147. .cp-text{ color: rgba(255,255,255,.7); text-shadow: 0 1px rgba(255, 255, 255, 0.1);}
Advertisement
Add Comment
Please, Sign In to add comment