Template:Test Page Header/styles.css: Difference between revisions
From KB42
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
. | .test_page_header { | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: cover; | background-size: cover; | ||
| Line 6: | Line 6: | ||
width: 100%; | width: 100%; | ||
clear: both; | clear: both; | ||
border: 0px solid #000; | border: 0px solid #000; | ||
padding: 1px 10px 1px 10px | padding: 1px 10px 1px 10px | ||
} | } | ||
.test_page_header_text { | |||
. | |||
position: absolute; | position: absolute; | ||
font-size: 3em; | font-size: 3em; | ||
| Line 17: | Line 15: | ||
margin-top: -1em | margin-top: -1em | ||
} | } | ||
.test_page_bk { | .test_page_bk { | ||
background-image: linear-gradient( | background-image: | ||
linear-gradient(90deg, rgba(0,0,0,1), rgba(0, 0, 0, .90), rgba(0, 0, 0,0), rgba(0,0,0,0)); | |||
} | |||
Latest revision as of 00:56, 7 August 2025
.test_page_header {
background-repeat: no-repeat;
background-size: cover;
background-position: top right;
height: 225px;
width: 100%;
clear: both;
border: 0px solid #000;
padding: 1px 10px 1px 10px
}
.test_page_header_text {
position: absolute;
font-size: 3em;
color:rgb(226, 226, 226);
margin-top: -1em
}
.test_page_bk {
background-image:
linear-gradient(90deg, rgba(0,0,0,1), rgba(0, 0, 0, .90), rgba(0, 0, 0,0), rgba(0,0,0,0));
}
