Skip to content

Commit eb22d00

Browse files
committed
Remove unnecessary and unused styles
1 parent d83146f commit eb22d00

File tree

3 files changed

+36
-113
lines changed

3 files changed

+36
-113
lines changed

lib/resources/styles.css

Lines changed: 0 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/sig.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3E2408ED7DD4454C55FBF018B65003E7
1+
45250896CEC08BF6C3F52F3320C7E033

web/styles/styles.scss

Lines changed: 35 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ main {
225225
margin-top: 5px;
226226
margin-right: 20px;
227227
}
228+
228229
/* end for layout */
229230

230231
body {
@@ -265,48 +266,43 @@ nav .container {
265266

266267
header {
267268
background-color: var(--main-header-color);
268-
box-shadow: 0 3px 5px rgba(0,0,0,0.1);
269-
}
270-
271-
.pre {
272-
border: 1px solid #ddd;
273-
font-size: 14px;
269+
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
274270
}
275271

276272
.hljs-string, .hljs-doctag {
277-
color: var(--main-string-color);
273+
color: var(--main-string-color);
278274
}
279275

280276
.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-tag .hljs-attr {
281-
color: var(--main-var-color);
277+
color: var(--main-var-color);
282278
}
283279

284280
.hljs-comment, .hljs-quote {
285-
color: var(--main-comment-color);
286-
font-style: italic;
281+
color: var(--main-comment-color);
282+
font-style: italic;
287283
}
288284

289285
.hljs-title, .hljs-section, .hljs-selector-id {
290-
color: var(--main-section-color);
291-
font-weight: bold;
286+
color: var(--main-section-color);
287+
font-weight: bold;
292288
}
293289

294290
.hljs-tag, .hljs-name, .hljs-attribute {
295-
color: var(--main-tag-color);
296-
font-weight: normal;
291+
color: var(--main-tag-color);
292+
font-weight: normal;
297293
}
298294

299295
.hljs-keyword, .hljs-selector-tag, .hljs-subst {
300-
color: var(--main-keyword-color);
301-
font-weight: bold;
296+
color: var(--main-keyword-color);
297+
font-weight: bold;
302298
}
303299

304300
.hljs {
305-
display: block;
306-
overflow-x: auto;
307-
padding: 0.5em;
308-
color: var(--main-text-color);
309-
background: var(--main-code-bg);
301+
display: block;
302+
overflow-x: auto;
303+
padding: 0.5em;
304+
color: var(--main-text-color);
305+
background: var(--main-code-bg);
310306
}
311307

312308
a {
@@ -367,18 +363,6 @@ a:hover {
367363
color: #13B9FD;
368364
}
369365

370-
pre.prettyprint {
371-
font-family: 'Roboto Mono', Menlo, monospace;
372-
color: black;
373-
border-radius: 0;
374-
font-size: 15px;
375-
word-wrap: normal;
376-
line-height: 1.4;
377-
border: 0;
378-
margin: 16px 0 16px 0;
379-
padding: 8px;
380-
}
381-
382366
pre code {
383367
white-space: pre;
384368
word-wrap: initial;
@@ -400,7 +384,7 @@ code {
400384
color: inherit;
401385
padding: 0.2em 0.4em;
402386
font-size: 85%;
403-
background-color: rgba(27,31,35,0.05);
387+
background-color: rgba(27, 31, 35, 0.05);
404388
border-radius: 3px;
405389
}
406390

@@ -531,18 +515,6 @@ dl dt.callable .name {
531515
color: var(--main-hyperlinks-color);
532516
}
533517

534-
.optional {
535-
font-style: italic;
536-
}
537-
538-
.undocumented {
539-
font-style: italic;
540-
}
541-
542-
.is-const {
543-
font-style: italic;
544-
}
545-
546518
.deprecated {
547519
text-decoration: line-through;
548520
}
@@ -787,7 +759,7 @@ td {
787759
}
788760
}
789761

790-
.breadcrumbs .gt-separated .dark .hidden-xs li+li:before {
762+
.breadcrumbs .gt-separated .dark .hidden-xs li + li:before {
791763
color: var(--main-h-text);
792764
}
793765

@@ -828,10 +800,6 @@ ol.breadcrumbs li a {
828800
content: "";
829801
}
830802

831-
.end-with-period li:last-child:after {
832-
content: ".";
833-
}
834-
835803
.container > section:first-child {
836804
border: 0;
837805
}
@@ -919,7 +887,7 @@ button {
919887
}
920888

921889
/* left-nav disappears, and can transition in from the left */
922-
@media screen and (max-width:840px) {
890+
@media screen and (max-width: 840px) {
923891
#sidenav-left-toggle {
924892
display: inline;
925893
width: 24px;
@@ -946,9 +914,7 @@ button {
946914
.sidebar-offcanvas-left {
947915
left: -100%;
948916
position: fixed;
949-
-webkit-transition:all .25s ease-out;
950-
-o-transition:all .25s ease-out;
951-
transition:all .25s ease-out;
917+
transition: all .25s ease-out;
952918
z-index: 2000;
953919
top: 0;
954920
width: 280px; /* works all the way down to an iphone 4 */
@@ -987,8 +953,8 @@ button {
987953
/* the right nav disappears out of view when the window shrinks */
988954
@media screen and (max-width: 992px) {
989955
.sidebar-offcanvas-right {
990-
display: none;
991-
}
956+
display: none;
957+
}
992958
}
993959

994960
#overlay-under-drawer {
@@ -1046,9 +1012,7 @@ button {
10461012
margin: 0;
10471013
background-color: var(--main-bg-color);
10481014
border: 1px solid var(--main-header-color);
1049-
-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
1050-
-moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
1051-
box-shadow: 0 5px 10px rgba(0,0,0,.2);
1015+
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
10521016
}
10531017

10541018

@@ -1063,7 +1027,6 @@ button {
10631027
outline: 0;
10641028
background-size: 20px;
10651029
filter: var(--main-number-filter);
1066-
-webkit-filter: var(--main-number-filter);
10671030
}
10681031

10691032
.search-summary {
@@ -1076,7 +1039,6 @@ a.tt-container {
10761039
}
10771040

10781041
.enter-search-message {
1079-
position: -webkit-sticky;
10801042
position: sticky;
10811043
top: 0;
10821044
background-color: #AAA;
@@ -1201,14 +1163,14 @@ a.tt-container {
12011163
}
12021164

12031165
@media screen and (max-width: 840px) {
1204-
.typeahead {
1205-
padding: 17px 17px 17px 33px;
1206-
width: 240px;
1207-
height: 17px;
1208-
border: 1px solid #f5f5f5;
1209-
background-position: 3%;
1210-
margin: 10px 10px 10px 9px;
1211-
}
1166+
.typeahead {
1167+
padding: 17px 17px 17px 33px;
1168+
width: 240px;
1169+
height: 17px;
1170+
border: 1px solid #f5f5f5;
1171+
background-position: 3%;
1172+
margin: 10px 10px 10px 9px;
1173+
}
12121174

12131175
header {
12141176
padding-left: 0;
@@ -1233,7 +1195,7 @@ a.tt-container {
12331195
.search-body {
12341196
border: 1px solid #7f7f7f;
12351197
max-width: 400px;
1236-
box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
1198+
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
12371199
}
12381200

12391201
/* Note that the generated HTML for pub packages may have `section` tags
@@ -1267,7 +1229,7 @@ li.inherited a {
12671229
}
12681230

12691231
a[href]:after {
1270-
content: "" !important;
1232+
content: "" !important;
12711233
}
12721234
}
12731235

@@ -1279,7 +1241,7 @@ li.inherited a {
12791241
padding: 1.25rem;
12801242
}
12811243

1282-
.markdown-alert>:last-child {
1244+
.markdown-alert > :last-child {
12831245
margin-bottom: 0;
12841246
}
12851247

0 commit comments

Comments
 (0)