File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,9 +49,12 @@ body#root.share-page .ui.mini.image.mclogo {
4949 align-items : center;
5050}
5151
52+ .page-header-item .logo .organization {
53+ display : flex;
54+ flex-shrink : 0 ;
55+ }
56+
5257.page-header-content {
53- /* aligns with edge of embedded simulator */
54- padding-left : 10px ;
5558 max-width : 50% ;
5659 flex-shrink : 1 ;
5760}
@@ -60,9 +63,28 @@ body#root.share-page .ui.mini.image.mclogo {
6063 text-overflow : ellipsis;
6164 white-space : nowrap;
6265 overflow : hidden;
66+ margin : 0 1rem ;
6367}
6468
65- .show-code-toggle {
69+ .page-header-content .ui .button {
70+ flex-shrink : 0 ;
71+ }
72+
73+ .page-header-product {
74+ font-family : Segoe UI, Tahoma, Geneva, Verdana;
75+ font-size : 18px ;
76+ font-weight : 700 ;
77+ }
78+
79+ .page-header-product ::before {
80+ position : relative;
81+ height : 1.5rem ;
82+ border-left : 2px solid # 000 ;
83+ content : " " ;
84+ margin-right : 0.9rem ;
85+ }
86+
87+ .page-header-spacer {
6688 flex-grow : 1 ;
6789 padding-left : 1rem ;
6890}
@@ -123,6 +145,10 @@ body#root.share-page .ui.mini.image.mclogo {
123145
124146/* tablet */
125147@media only screen and (max-width : 768px ) {
148+ .page-header-product {
149+ display : none;
150+ }
151+
126152 body # root .share-page # pagemenu {
127153 height : 2.8rem ;
128154 min-height : 2.8rem !important ;
@@ -134,8 +160,7 @@ body#root.share-page .ui.mini.image.mclogo {
134160
135161@media only screen and (min-width : 769px ) {
136162 .ui .container .mainbody , .page-header .ui .container {
137- padding-left : 1em ;
138- padding-right : 1em ;
163+ padding : 0 0.5rem ;
139164 }
140165
141166 .mainbody {
Original file line number Diff line number Diff line change 1919 < div class ="showDesktop page-header ">
2020 < div class ="ui container ">
2121 < div id ="page-header-wrapper ">
22- < div class ="page-header-item page-header-content no-grow ">
23- < h2 class ="ui item header "> @title@</ h2 >
24- </ div >
25- < div class ="page-header-item show-code-toggle ">
26- < a href ="/@versionsuff@#pub:@id@ " class ="ui tiny button "> Edit Code</ a >
27- </ div >
2822 < div class ="page-header-item no-grow ">
2923 < a href ="https://makecode.com/ " title ="Go to Microsoft MakeCode "
3024 aria-label ="Microsoft MakeCode Logo " role ="menuitem " target ="blank " rel ="noopener "
3125 class ="ui item logo organization ">
32- < img class ="ui logo portrait hide " src ="./static/Microsoft-logo_rgb_c-gray.png "
33- alt ="Microsoft MakeCode Logo ">
34- < img class ="ui mini image portrait only " src ="./static/Microsoft-logo_rgb_c-gray-square.png "
26+ < img class ="ui logo " src ="./static/Microsoft-logo_rgb_c-gray.png "
3527 alt ="Microsoft MakeCode Logo ">
3628 </ a >
29+ < div class ="page-header-product "> MakeCode</ div >
30+ </ div >
31+ < div class ="page-header-item page-header-spacer "> </ div >
32+ < div class ="page-header-item page-header-content no-grow ">
33+ < h2 class ="ui item header "> @title@</ h2 >
34+ < a href ="/@versionsuff@#pub:@id@ " class ="ui tiny button "> Edit Code</ a >
3735 </ div >
3836 </ div >
3937 </ div >
You can’t perform that action at this time.
0 commit comments