8585 content : attr (data-tooltip);
8686 font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , "Roboto" , "Oxygen" , "Ubuntu" , "Cantarell" , "Fira Sans" , "Droid Sans" , "Helvetica Neue" , "Helvetica" , "Arial" , sans-serif;
8787 font-size : 0.6rem ;
88+ font-weight : 400 ;
8889 left : 50% ;
8990 line-height : 1.2 ;
9091 opacity : 0 ;
@@ -797,7 +798,7 @@ html ::selection {
797798
798799.list {
799800 background : # fff ;
800- padding-bottom : 2 rem ;
801+ padding-bottom : 3 rem ;
801802 position : relative; }
802803
803804.tag {
@@ -989,7 +990,8 @@ html ::selection {
989990 opacity : 0.5 ;
990991 pointer-events : none;
991992 position : absolute;
992- right : 100% ; }
993+ right : 100% ;
994+ top : 0 ; }
993995 .value-name .tag : hover : before {
994996 transform : translateX (4px ) translateY (50% ); }
995997
@@ -1131,6 +1133,15 @@ html ::selection {
11311133 .element-name a : hover span {
11321134 color : # 3273dc ; }
11331135
1136+ .element-description code {
1137+ background : # f2f2f2 ;
1138+ border-radius : 2px ;
1139+ color : # 333333 ;
1140+ font-size : 0.9em ;
1141+ padding : 1px 5px 3px ;
1142+ position : relative;
1143+ top : -1px ; }
1144+
11341145@media (max-width : 799px ) {
11351146 .element-header {
11361147 padding-left : 2rem ;
@@ -1170,7 +1181,7 @@ html ::selection {
11701181 overflow : auto;
11711182 padding : 1rem ; }
11721183 .example-code pre {
1173- font-size : 14 px ;
1184+ font-size : 12 px ;
11741185 padding : 0 ; }
11751186
11761187.example-output {
@@ -1179,14 +1190,46 @@ html ::selection {
11791190 padding : 1rem ; }
11801191 .example-output a {
11811192 text-decoration : underline; }
1193+ .example-output h1 , .example-output h2 , .example-output h3 , .example-output h4 , .example-output h5 , .example-output h6 {
1194+ font-weight : bold;
1195+ line-height : 1.2 ;
1196+ margin : 1em 0 0.5em ; }
1197+ .example-output h1 : first-child , .example-output h2 : first-child , .example-output h3 : first-child , .example-output h4 : first-child , .example-output h5 : first-child , .example-output h6 : first-child {
1198+ margin-top : 0 ; }
1199+ .example-output h1 : last-child , .example-output h2 : last-child , .example-output h3 : last-child , .example-output h4 : last-child , .example-output h5 : last-child , .example-output h6 : last-child {
1200+ margin-bottom : 0 ; }
1201+ .example-output h1 {
1202+ font-size : 1.6em ; }
1203+ .example-output h2 {
1204+ font-size : 1.4em ; }
1205+ .example-output h3 {
1206+ font-size : 1.2em ; }
1207+ .example-output p {
1208+ margin : 0.5em 0 ; }
1209+ .example-output p : first-child {
1210+ margin-top : 0 ; }
1211+ .example-output p : last-child {
1212+ margin-bottom : 0 ; }
1213+ .example-output main + aside {
1214+ margin-top : 1em ; }
11821215
11831216@media (max-width : 799px ) {
11841217 .example {
11851218 padding : 0 2rem ; } }
11861219
11871220@media (min-width : 800px ) {
11881221 .example {
1189- padding : 0 3rem ; } }
1222+ padding : 0 3rem ; }
1223+ .example-preview {
1224+ display : flex; }
1225+ .example-output {
1226+ flex-basis : 0 ;
1227+ flex-grow : 1 ;
1228+ flex-shrink : 1 ; }
1229+ .example-code {
1230+ flex-basis : 0 ;
1231+ flex-grow : 2 ;
1232+ flex-shrink : 2 ; } }
11901233
11911234.modal {
11921235 z-index : 50 ; }
0 commit comments