File tree Expand file tree Collapse file tree
docs/components/banner-splash Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .container {
2+ width : 80% ;
3+ margin : 0 auto;
4+ text-align : center;
5+ }
6+
17.splash {
2- color : red;
8+ display : inline-block;
9+ background-image : url (/assets/wcc-splash.png);
10+ background-repeat : no-repeat;
11+ background-size : contain;
12+ font-size : var (--size-6 );
13+ color : var (--color-white );
14+ font-weight : bold;
15+ width : 100px ;
16+ }
17+
18+ .text {
19+ display : inline;
20+ font-size : var (--size-6 );
21+ height : 136px ;
22+ font-weight : bold;
23+ }
24+
25+ @media (min-width : 900px ) {
26+ .splash {
27+ width : 297px ;
28+ height : 136px ;
29+ }
30+
31+ .splash ,
32+ .text {
33+ font-size : var (--size-10 );
34+ }
335}
Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ export default class BannerSplash extends HTMLElement {
77
88 render ( ) {
99 return (
10- < h1 >
11- < span class = { styles . splash } > SSR</ span > for Web Components
10+ < h1 class = { styles . container } >
11+ < span class = { styles . splash } > SSR</ span >
12+ < span class = { styles . text } > for Web Components</ span >
1213 </ h1 >
1314 ) ;
1415 }
You can’t perform that action at this time.
0 commit comments