Advertisement
Guest User

css pubg

a guest
Jan 20th, 2018
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.37 KB | None | 0 0
  1. body {
  2.     margin: 0 auto;
  3.     font-family: 'Roboto', sans-serif;
  4.     min-width: 1200px;
  5. }
  6.  
  7.     #headerNav {
  8.         width: 100%;
  9.         height: 70px;
  10.         background-color: #e18000;
  11.     }
  12.         #nav {
  13.             width: 1200px;
  14.             margin-left: auto;
  15.             margin-right: auto;
  16.         }
  17.             #navLogo {
  18.                 position: absolute;
  19.                 left: 0;
  20.                 top: 0;
  21.                 margin-left: 50px;
  22.                 z-index: 2;
  23.             }
  24.                 #navLogo > a {
  25.                     height: 50px;
  26.                     width: 84.3px;
  27.                     margin-top: 10px;
  28.                     background-image: url('images/ico/pubg-logo.png');
  29.                     background-size: cover;
  30.                     display: block;
  31.                 }
  32.                     #navLogo > a:hover {
  33.                         background-image: url('images/ico/pubg-logo2.png');
  34.                         background-size: cover;
  35.                     }
  36.  
  37.             #navArea {
  38.                 width: 315px;
  39.                 height: 70px;
  40.                 margin-left: auto;
  41.                 margin-right: auto;
  42.                 padding-left: 10px;
  43.                 padding-right: 10px;
  44.             }
  45.                 .navButton {
  46.                     float: left;
  47.                     margin-left: 2.5px;
  48.                     margin-right: 2.5px;
  49.  
  50.                     font-size: 0.9em;
  51.                     font-weight: 500;
  52.  
  53.                 }
  54.                     .navButton > a {
  55.                         min-width: 100px;
  56.                         height: 40px;
  57.                         display: block;
  58.                         text-align: center;
  59.                         color: #FFF;
  60.                         text-decoration: none;
  61.                         padding-top: 26px;
  62.  
  63.                         transition: 0.4s;
  64.                         border-bottom: 4px solid;
  65.                         border-color: transparent;
  66.  
  67.                     }
  68.                         .navButton > a:hover {
  69.                             border-bottom: 4px solid;
  70.                             border-color: #FFF;
  71.                         }
  72.  
  73.                     #active {
  74.                         border-bottom: 4px solid;
  75.                         border-color: #FFF!important;                      
  76.                     }
  77.  
  78.     #topNews {
  79.         width: 1120px;
  80.         height: 640px;
  81.  
  82.         margin-left: auto;
  83.         margin-right: auto;
  84.         margin-top: 25px;
  85.  
  86.         background-color: #EEEEEE;
  87.         box-shadow: 0 0 10px #c4c4c4;
  88.     }
  89.     #topNews:hover .tNewsBg > img {
  90.         transform: scale(1.1);
  91.     }
  92.     #topNews:hover .tNewsComment > h1{
  93.         color: #e18000;
  94.     }
  95.         .tNewsBg {
  96.             width: 1120px;
  97.             height: 480px;
  98.             overflow: hidden;
  99.         }
  100.         .tNewsBg > img {
  101.             width: 100%;
  102.             height: 100%;
  103.  
  104.             object-fit: cover;
  105.  
  106.             transition: 0.3s;
  107.         }
  108.  
  109.         .tNewsComment {
  110.             width: 1120px;
  111.             height: 160px;
  112.             background-color: #FFF;
  113.         }
  114.             .tNewsComment > h1, p {
  115.                 margin: 0;
  116.                 padding: 0;
  117.             }
  118.             .tNewsComment > h1 {
  119.                 width: 65%;
  120.                 text-align: center;
  121.                 color: #181725;
  122.                 padding-top: 25px;
  123.                 font-size: 1.7em;
  124.  
  125.                 transition: 0.3s;
  126.                 margin-left: auto;
  127.                 margin-right: auto;
  128.                 padding-bottom: 15px;
  129.             }
  130.  
  131.             .tNewsComment > p {
  132.                 width: 65%;
  133.                 margin-left: auto;
  134.                 margin-right: auto;
  135.                 color: #a7a7a7;        
  136.             }
  137.             a {
  138.                 text-decoration: none;
  139.             }
  140.     #articleTitle {
  141.         width: 910px;
  142.         margin-left: auto;
  143.         margin-right: auto;
  144.         text-align: center;
  145.     }
  146.         #articleTitle > h1 {
  147.             margin: 0;
  148.             padding: 0;
  149.  
  150.             color: #181725;
  151.             padding-top: 35px;
  152.             padding-bottom: 35px;
  153.             font-size: 2.8em;
  154.             line-height: 1.5;
  155.         }
  156.     #articleBy {
  157.         text-align: left;
  158.         font-size: 1.55em;
  159.  
  160.         color: #a7a7a7;
  161.         margin-bottom: 35px;
  162.     }          
  163.  
  164.     #newsBlurBg {
  165.         width: 100%;
  166.         height: 410px;
  167.         overflow: hidden;
  168.     }
  169.         #newsBlurBg > img {
  170.             width: 100%;
  171.             height: 410px;
  172.             object-fit: cover;
  173.  
  174.             filter:blur(10px);
  175.             transform: scale(1.2);
  176.         }
  177.  
  178.         #newsBlurImg {
  179.             width: 50%;
  180.             height: 410px;
  181.  
  182.             margin-left: auto;
  183.             margin-right: auto;
  184.             left: 0;
  185.             right: 0;
  186.             position: absolute;
  187.             z-index: 2;
  188.         }
  189.             #newsBlurImg > img {
  190.                 width: 100%;
  191.                 height: 100%;
  192.                 object-fit: cover;
  193.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement