Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- margin: 0 auto;
- font-family: 'Roboto', sans-serif;
- min-width: 1200px;
- }
- #headerNav {
- width: 100%;
- height: 70px;
- background-color: #e18000;
- }
- #nav {
- width: 1200px;
- margin-left: auto;
- margin-right: auto;
- }
- #navLogo {
- position: absolute;
- left: 0;
- top: 0;
- margin-left: 50px;
- z-index: 2;
- }
- #navLogo > a {
- height: 50px;
- width: 84.3px;
- margin-top: 10px;
- background-image: url('images/ico/pubg-logo.png');
- background-size: cover;
- display: block;
- }
- #navLogo > a:hover {
- background-image: url('images/ico/pubg-logo2.png');
- background-size: cover;
- }
- #navArea {
- width: 315px;
- height: 70px;
- margin-left: auto;
- margin-right: auto;
- padding-left: 10px;
- padding-right: 10px;
- }
- .navButton {
- float: left;
- margin-left: 2.5px;
- margin-right: 2.5px;
- font-size: 0.9em;
- font-weight: 500;
- }
- .navButton > a {
- min-width: 100px;
- height: 40px;
- display: block;
- text-align: center;
- color: #FFF;
- text-decoration: none;
- padding-top: 26px;
- transition: 0.4s;
- border-bottom: 4px solid;
- border-color: transparent;
- }
- .navButton > a:hover {
- border-bottom: 4px solid;
- border-color: #FFF;
- }
- #active {
- border-bottom: 4px solid;
- border-color: #FFF!important;
- }
- #topNews {
- width: 1120px;
- height: 640px;
- margin-left: auto;
- margin-right: auto;
- margin-top: 25px;
- background-color: #EEEEEE;
- box-shadow: 0 0 10px #c4c4c4;
- }
- #topNews:hover .tNewsBg > img {
- transform: scale(1.1);
- }
- #topNews:hover .tNewsComment > h1{
- color: #e18000;
- }
- .tNewsBg {
- width: 1120px;
- height: 480px;
- overflow: hidden;
- }
- .tNewsBg > img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- transition: 0.3s;
- }
- .tNewsComment {
- width: 1120px;
- height: 160px;
- background-color: #FFF;
- }
- .tNewsComment > h1, p {
- margin: 0;
- padding: 0;
- }
- .tNewsComment > h1 {
- width: 65%;
- text-align: center;
- color: #181725;
- padding-top: 25px;
- font-size: 1.7em;
- transition: 0.3s;
- margin-left: auto;
- margin-right: auto;
- padding-bottom: 15px;
- }
- .tNewsComment > p {
- width: 65%;
- margin-left: auto;
- margin-right: auto;
- color: #a7a7a7;
- }
- a {
- text-decoration: none;
- }
- #articleTitle {
- width: 910px;
- margin-left: auto;
- margin-right: auto;
- text-align: center;
- }
- #articleTitle > h1 {
- margin: 0;
- padding: 0;
- color: #181725;
- padding-top: 35px;
- padding-bottom: 35px;
- font-size: 2.8em;
- line-height: 1.5;
- }
- #articleBy {
- text-align: left;
- font-size: 1.55em;
- color: #a7a7a7;
- margin-bottom: 35px;
- }
- #newsBlurBg {
- width: 100%;
- height: 410px;
- overflow: hidden;
- }
- #newsBlurBg > img {
- width: 100%;
- height: 410px;
- object-fit: cover;
- filter:blur(10px);
- transform: scale(1.2);
- }
- #newsBlurImg {
- width: 50%;
- height: 410px;
- margin-left: auto;
- margin-right: auto;
- left: 0;
- right: 0;
- position: absolute;
- z-index: 2;
- }
- #newsBlurImg > img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement