Advertisement
Guest User

Untitled

a guest
Nov 11th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.54 KB | None | 0 0
  1. .page {
  2.   --background-gap: 396px;
  3.   --background-image: url('./index/background-mobile.png');
  4.   --bg-gradient-step1: 1404px;
  5.   --bg-gradient-step2: 2808px;
  6.   --bg-gradient-step3: 7276px;
  7.   --content-width: 288px;
  8.  
  9.   --inner-padding-value: 24px;
  10.   --inner-padding: 0 var(--inner-padding-value);
  11.  
  12.   --color-white: #fff;
  13.   --color-gray1: #d6d7d8;
  14.   --color-gray2: #b4b4b4;
  15.   --color-gray3: #e5e5e5;
  16.   --color-gray4: #262e33;
  17.   --color-blue: #44b1fb;
  18.  
  19.   background-color: #1f2027;
  20.   background-image: linear-gradient(
  21.       180deg,
  22.       #001b2d 0%,
  23.       rgba(0, 0, 0, 0) 90%,
  24.       rgba(26, 26, 26, 0.4) 100%
  25.     ),
  26.     var(--background-image),
  27.     linear-gradient(
  28.       180deg,
  29.       #001b2d 0%,
  30.       #5192bc var(--bg-gradient-step1),
  31.       #337299 var(--bg-gradient-step2),
  32.       #121212 var(--bg-gradient-step2),
  33.       #1f2027 var(--bg-gradient-step3),
  34.       #353546 100%
  35.     );
  36.   background-repeat: no-repeat;
  37.   background-position: center top, center 2181px, center top;
  38.   background-size: 320px 2954px, 320px 828px, 320px 100%;
  39.   color: var(--color-gray2);
  40.  
  41.   font: 17px/24px 'Roboto', sans-serif;
  42.  
  43.   display: grid;
  44.   grid-template-columns: var(--content-width);
  45.   grid-template-rows: 32px max-content 64px max-content 64px max-content
  46.     var(--background-gap) max-content 64px max-content 32px max-content;
  47.   grid-template-areas: '.' 'header' '.' 'section-1' '.' 'section-2' '.' 'section-3' '.' 'section-4' '.' 'section-5' '.' 'footer';
  48.   justify-content: center;
  49.  
  50.   @media (min-resolution: 2dppx) {
  51.     --background-image: url('./index/background-mobile@2x.png');
  52.   }
  53.  
  54.   @media (min-width: 768px) {
  55.     --background-image: url('./index/background-tablet.png');
  56.     --bg-gradient-step1: 725px;
  57.     --bg-gradient-step2: 1450px;
  58.     --bg-gradient-step3: 4128px;
  59.     --content-width: 736px;
  60.  
  61.     background-position: center top, center 829px, center top;
  62.     background-size: 768px 1634px, 768px 846px, 768px 100%;
  63.  
  64.     @media (min-resolution: 2dppx) {
  65.       --background-image: url('./index/background-tablet@2x.png');
  66.     }
  67.   }
  68.  
  69.   @media (min-width: 1138px) {
  70.     --background-image: url('./index/background.png');
  71.     --background-gap: 528px;
  72.     --bg-gradient-step1: 844px;
  73.     --bg-gradient-step2: 1688px;
  74.     --bg-gradient-step3: 3968px;
  75.     --content-width: 1106px;
  76.  
  77.     background-position: center top, center 990px, center top;
  78.     background-size: 1368px 1784px, 1368px 846px, 1368px 100%;
  79.  
  80.     @media (min-resolution: 2dppx) {
  81.       --background-image: url('./index/background@2x.png');
  82.     }
  83.   }
  84. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement