Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.20 KB | None | 0 0
  1. /* --- background --- */
  2.  
  3. body,
  4. html {
  5.   height: auto;
  6.   background-image: url("../image/background.jpg");
  7.   margin:0;
  8.  
  9.   /* Center and scale the image nicely */
  10.   background-position: center;
  11.   background-repeat: no-repeat;
  12.   background-size: cover;
  13.   position: relative;
  14. }
  15.  
  16.  
  17.  
  18.  
  19. /* ------ form login ------ */
  20. .buttonLogin {
  21.   background: linear-gradient(300deg, #FF7917 0.04%, #FFA508 67.49%, #FFBA08 100.11%);
  22.   border-radius: 10px;
  23. }
  24.  
  25.  
  26. .container-form {
  27.   padding: 10px 10px;
  28.   margin: 10px 10px;
  29.   border-radius: 10px;
  30.   background-color: white;
  31. }
  32.  
  33. /* ------ news -------- */
  34.  
  35. .backgroundnews {
  36.   width: 100%;  
  37.   position: absolute;
  38.   bottom:0;
  39.  
  40.   background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  41.   box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  42. }
  43.  
  44. .imgcard img {
  45.   width: 100%;
  46.   height: 100px;
  47.   object-fit: cover;
  48.   border-radius: 5px;
  49. }
  50.  
  51.  
  52.  
  53. .partner-strike {
  54.   display: block;
  55.   text-align: left;
  56.   overflow: hidden;
  57.   white-space: nowrap;
  58. }
  59.  
  60. .partner-strike>span {
  61.   position: absolute;
  62. }
  63.  
  64. .partner-strike>span:before {
  65.   content: "";
  66.   position: absolute;
  67.   top: 50%;
  68.   width: 135px;
  69.   height: 3px;
  70.   background: white;
  71.   left: 100%;
  72. }
  73.  
  74.  
  75. .align-right {
  76.   text-align: left;
  77. }
  78.  
  79.  
  80. .strike {
  81.   display: block;
  82.   text-align: center;
  83.   overflow: hidden;
  84.   white-space: nowrap;
  85. }
  86.  
  87. .strike>span {
  88.   position: relative;
  89.   display: inline-block;
  90. }
  91.  
  92. .strike>span:after {
  93.   right: 100%;
  94.   margin-right: 30px;
  95. }
  96.  
  97. .col-xs-12 {
  98.   width: 100%;
  99.   margin: 0px;
  100.   padding: 0px;
  101. }
  102.  
  103. .col-xs-5 {
  104.   width: 40%;
  105. }
  106.  
  107. .card-berita {
  108.   margin-bottom: 20px;
  109.   background-color: white;
  110.   width: 100%;
  111.   padding: 10px;
  112.   border-radius: 5px;
  113.   height: auto;
  114.   border-radius: 5px;
  115.   box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  116. }
  117.  
  118. .berita-home {
  119.   bottom: 10px;
  120. }
  121.  
  122.  
  123. /* footer */
  124.  
  125. .footer {
  126.   justify-content: center;
  127.   bottom: 0px;
  128.   width: 100%;
  129.   background-color: #C4C4C4;
  130. }
  131.  
  132.  
  133. .icon-form i{
  134.   position: absolute;
  135.   z-index: 1;
  136.   top: 10px;
  137.   left: 10px;
  138. }
  139. /* medium */
  140.  
  141. @media only screen and (max-width: 920px) {
  142.  
  143. .backgroundnews {
  144.   width: 100%;  
  145.   position: relative;
  146.   bottom:0;
  147. }
  148.  
  149. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement