(add h1 tag style for page title) |
|||
Line 104: | Line 104: | ||
h1 { | h1 { | ||
− | |||
− | |||
position: relative; | position: relative; | ||
margin-left: -5%; | margin-left: -5%; | ||
margin-right: -5%; | margin-right: -5%; | ||
− | padding | + | padding: 0; |
height: 450px; | height: 450px; | ||
line-height: 450px; | line-height: 450px; | ||
Line 115: | Line 113: | ||
margin-top: 0; | margin-top: 0; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
− | |||
− | |||
} | } | ||
h1>span { | h1>span { | ||
+ | font-family: 'Century Gothic Regular', 'Franklin Gothic Demi', 'Franklin Gothic Book', 'Raleway', sans-serif; | ||
+ | font-weight: 500; | ||
background-color: #566474; | background-color: #566474; | ||
color: #fff; | color: #fff; | ||
padding: 2% 5%; | padding: 2% 5%; | ||
+ | position: relative; | ||
+ | z-index: 2; | ||
} | } | ||
h1::after { | h1::after { | ||
Line 131: | Line 131: | ||
left: 0; | left: 0; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
− | background-size: | + | background-size: contain; |
background-position: center; | background-position: center; | ||
+ | z-index: 1; | ||
} | } | ||
Revision as of 07:14, 31 October 2017