File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
components/pages/HomePage Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 2121
2222@media (orientation : landscape) {
2323 .Background {
24- background-position : 30% 10 % ;
24+ background-position : 30% 15 % ;
2525 background-size : 140% ;
2626 }
2727}
4040 }
4141}
4242
43+ @media (orientation : portrait) and (max-width : 1000px ) {
44+ .Background {
45+ background-position : 57% 50% ;
46+ background-size : 200% ;
47+ }
48+ }
49+
4350@media (orientation : portrait) and (max-width : 480px ) {
4451 .Background {
4552 background-position : 69% -26% ;
Original file line number Diff line number Diff line change 66
77.component {
88 position : fixed;
9- top : 25 % ;
9+ top : 35 % ;
1010}
1111
1212@media (max-width : 800px ) {
1313 .component {
14- top : 20 % ;
14+ top : calc ( var ( --ifm-navbar-height ) + 3 rem + 1 rem ) ;
1515 }
1616}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ div[class^="announcementBar"][role="banner"] .announcement-bar {
2222 justify-content : flex-start;
2323 align-items : center;
2424 height : 2.4rem ;
25- padding : 0 4 rem ;
25+ padding : 0 1 rem ;
2626 background-color : # 282826 ;
2727 color : # F6F6F6 ;
2828 margin : 0 auto;
@@ -38,6 +38,7 @@ div[class^="announcementBar"][role="banner"] .announcement-bar:hover {
3838div [class ^= "announcementBar" ][role = "banner" ] .announcement-bar__icon {
3939 width : 1.6rem ;
4040 height : 1.6rem ;
41+ padding : 1px ; /* Fix icon crop in Safari */
4142}
4243
4344div [class ^= "announcementBar" ][role = "banner" ] .announcement-bar__icon : first-child {
@@ -47,3 +48,9 @@ div[class^="announcementBar"][role="banner"] .announcement-bar__icon:first-child
4748div [class ^= "announcementBar" ][role = "banner" ] .announcement-bar__icon : last-child {
4849 margin-left : 1rem ;
4950}
51+
52+ @media (max-width : 480px ) {
53+ div [class ^= "announcementBar" ][role = "banner" ] .announcement-bar {
54+ font-size : 0.75rem ;
55+ }
56+ }
You can’t perform that action at this time.
0 commit comments