Advertisement
AviEzerzer

Untitled

Sep 21st, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.27 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Lobster');
  2.  
  3. /****/
  4.  
  5. body {
  6.     background: #2C3E50;
  7.     /* fallback for old browsers */
  8.     background: -webkit-linear-gradient(to right, #4CA1AF, #2C3E50);
  9.     /* Chrome 10-25, Safari 5.1-6 */
  10.     background: linear-gradient(to right, #4CA1AF, #2C3E50);
  11.     /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  12. }
  13.  
  14. ::-webkit-scrollbar {
  15.     display: none;
  16. }
  17.  
  18. .main {
  19.     position: absolute;
  20.     top: 0;
  21.     left: 0;
  22.     width: 100%;
  23.     height: 100%;
  24.     background: #2C3E50;
  25.     /* fallback for old browsers */
  26.     background: -webkit-linear-gradient(to right, #4CA1AF, #2C3E50);
  27.     /* Chrome 10-25, Safari 5.1-6 */
  28.     background: linear-gradient(to right, #4CA1AF, #2C3E50);
  29.     /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  30. }
  31.  
  32. .main .main-div {
  33.     position: absolute;
  34.     top: 50%;
  35.     left: 50%;
  36.     padding: 2%;
  37.     transform: translate(-50%, -50%);
  38.     background-color: #343a40;
  39.     font-family: 'Roboto Slab', serif;
  40.     font-size: 24px;
  41.     text-align: center;
  42.     border-radius: 5px;
  43. }
  44.  
  45. h2 {
  46.     color: white;
  47.     font-family: 'Lobster', cursive;
  48. }
  49.  
  50. hr {
  51.     height: 10px;
  52.     border: 0;
  53.     box-shadow: 0 10px 10px -10px lightblue inset;
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement