Advertisement
talalaite

Untitled

Mar 31st, 2021
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.66 KB | None | 0 0
  1. * {
  2.   font-family: "Open Sans", sans-serif;
  3. }
  4.  
  5. .home {
  6.   border-bottom: 5px solid #00be8f;
  7. }
  8.  
  9. header {
  10.   text-align: center;
  11.   padding: 1rem;
  12. }
  13.  
  14. nav {
  15.   margin: 2rem 0 1.5rem 0;
  16. }
  17.  
  18. a {
  19.   text-decoration: none;
  20.   padding: 1rem 2.5rem;
  21.   border-radius: 30px;
  22.   font-weight: bold;
  23. }
  24.  
  25. .sign,
  26. .logout {
  27.   background-color: #00be8f;
  28.   color: #fdfdfd;
  29. }
  30.  
  31. .login,
  32. .add,
  33. .dashboard {
  34.   color: #7c7c7c;
  35. }
  36.  
  37. .godown,
  38. .signup {
  39.   background-color: #00be8f;
  40.   color: #fdfdfd;
  41.   padding: 1rem 5rem;
  42. }
  43.  
  44. h1 {
  45.   color: #00be8f;
  46. }
  47.  
  48. .white {
  49.   color: white;
  50. }
  51.  
  52. /* Notification */
  53. .alert {
  54.   background-color: #e2e2e270;
  55.   color: #0a1e27;
  56.   border-radius: 5px;
  57.   padding: 2rem;
  58.   margin-bottom: 1rem;
  59.   opacity: 1;
  60.   position: relative;
  61. }
  62.  
  63. .alert-close {
  64.   color: white;
  65.   background-color: #7c7c7c46;
  66.   border-radius: 50%;
  67.   padding: 0.5rem;
  68.   font-size: 20px;
  69.   font-weight: bold;
  70.   line-height: 1rem;
  71.   cursor: pointer;
  72.   position: absolute;
  73.   right: 1rem;
  74.   top: 1rem;
  75. }
  76.  
  77. .alert-close:hover {
  78.   color: #0a1e27;
  79. }
  80. /* -------------------- */
  81.  
  82. h5 {
  83.   margin: 2rem 0 3rem 0;
  84.   color: #7c7c7c;
  85. }
  86.  
  87. .background {
  88.   padding: 2rem 0 4rem 0;
  89.   background-color: #0a1e27;
  90.   margin: 0;
  91. }
  92.  
  93. .container {
  94.   max-width: 90%;
  95.   margin: 0 auto;
  96. }
  97.  
  98. label {
  99.   font-weight: bold;
  100.   margin-bottom: 1rem;
  101. }
  102.  
  103. input::placeholder {
  104.   color: #d4d4d4;
  105. }
  106.  
  107. input {
  108.   font-weight: lighter;
  109. }
  110.  
  111. input:not([type="checkbox"]) {
  112.   width: 100%;
  113.   padding: 1rem;
  114.   margin: 1rem 0;
  115.   border-radius: 5px;
  116.   border: 2px solid #d4d4d4;
  117.   box-sizing: border-box;
  118. }
  119.  
  120. .checkboxes label {
  121.   font-weight: normal;
  122. }
  123.  
  124. .checkboxes div {
  125.   margin: 0.5rem 0;
  126. }
  127.  
  128. button {
  129.   background-color: #00be8f;
  130.   color: #fdfdfd;
  131.   padding: 1rem 2.5rem;
  132.   border: none;
  133.   border-radius: 30px;
  134.   font-weight: bold;
  135. }
  136.  
  137. .right {
  138.   text-align: right;
  139. }
  140.  
  141. .show {
  142.   display: none;
  143. }
  144.  
  145. .search {
  146.   display: none;
  147. }
  148.  
  149. .course img {
  150.   max-width: 100%;
  151. }
  152.  
  153. .params {
  154.   display: flex;
  155.   margin-bottom: 1rem;
  156. }
  157.  
  158. .price {
  159.   display: flex;
  160.   margin-bottom: 1rem;
  161. }
  162.  
  163. .params > div {
  164.   border: 1px solid #d4d4d4;
  165.   border-radius: 5px;
  166.   padding: 0.5rem;
  167.   margin-right: 0.5rem;
  168. }
  169.  
  170. .game {
  171.   background-position: center;
  172.   background-repeat: no-repeat;
  173.   background-size: contain;
  174.   width: 20px;
  175.   background-image: url(https://cdn2.iconfinder.com/data/icons/complete-common-version-6-5/1024/gamepad-512.png);
  176. }
  177.  
  178. .oldprice {
  179.   text-decoration: line-through;
  180.   margin-right: 0.5rem;
  181. }
  182.  
  183. .newprice {
  184.   font-weight: bold;
  185.   color: red;
  186. }
  187.  
  188. .center {
  189.   text-align: center;
  190. }
  191.  
  192. @media screen and (min-width: 900px) {
  193.   .search {
  194.     display: inline;
  195.     width: 30% !important;
  196.   }
  197.  
  198.   .show {
  199.     display: inline;
  200.   }
  201.  
  202.   header,
  203.   .flex {
  204.     display: flex;
  205.     justify-content: space-between;
  206.   }
  207.  
  208.   .slideshow {
  209.     display: flex;
  210.   }
  211.  
  212.   .background {
  213.     width: 50vw;
  214.   }
  215.  
  216.   .picturebooks {
  217.     background-image: url(https://images.unsplash.com/photo-1568667256531-7d5ac92eaa7a?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=658&q=80);
  218.   }
  219.  
  220.   .picture {
  221.     background-image: url(https://images.unsplash.com/photo-1502899576159-f224dc2349fa?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=700&q=80);
  222.   }
  223.  
  224.   .picture,
  225.   .picturebooks {
  226.     background-position: center;
  227.     background-repeat: no-repeat;
  228.     background-size: cover;
  229.     width: 50vw;
  230.   }
  231.  
  232.   .content {
  233.     display: flex;
  234.     flex-wrap: wrap;
  235.     justify-content: space-between;
  236.   }
  237.  
  238.   .course {
  239.     box-sizing: border-box;
  240.     width: calc(25% - 2rem / 4 * 3);
  241.   }
  242. }
  243.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement