File tree 1 file changed +20
-7
lines changed
1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change 42
42
color : # fff ;
43
43
padding : .5rem ;
44
44
overflow-x : auto;
45
+
46
+ /* kind of a hack tbh but happens to make various code samples fit better
47
+ * narrow spaces like the examples pane and front page */
48
+ font-size : .9em ;
45
49
}
46
50
47
51
code code {
@@ -88,7 +92,6 @@ h2, h3 {
88
92
89
93
.top-logo {
90
94
grid-area : logo;
91
- min-width : 300px ;
92
95
}
93
96
94
97
.top-nav {
@@ -201,7 +204,6 @@ h2, h3 {
201
204
202
205
.segment .example pre {
203
206
margin-top : 6px ;
204
- font-size : .9em ;
205
207
}
206
208
207
209
@media (min-width : 800px ) {
@@ -921,15 +923,26 @@ label.quickstart-label::before {
921
923
922
924
@media (max-width : 1200px ) {
923
925
body {
924
- grid-template-columns : 3fr 1fr ;
926
+ grid-template-columns : 1fr 2fr ;
927
+ grid-template-rows : 80px 60px auto;
925
928
grid-template-areas :
926
929
"logo search"
927
- "nav nav"
928
- "content toc" ;
930
+ "primary-nav primary-nav"
931
+ "secondary-nav content" ;
932
+ }
933
+
934
+ .page-content .wide {
935
+ grid-column-start : 1 / span 2 ;
936
+ grid-column-end : 3 ;
937
+ padding : 30px ;
938
+ }
939
+
940
+ .page-content .wide .section {
941
+ grid-template-columns : auto;
929
942
}
930
943
931
- .top-nav {
932
- height : 60 px ;
944
+ .splash-title {
945
+ grid-column-start : 1 ;
933
946
}
934
947
935
948
.top-nav a {
You can’t perform that action at this time.
0 commit comments