Skip to content

Commit 2f4f7a2

Browse files
authored
Simlify CSS
- Remove dead code - Remove dated browser workarounds for now-supported properties
1 parent 8ae378f commit 2f4f7a2

File tree

1 file changed

+6
-28
lines changed

1 file changed

+6
-28
lines changed

assets/sass/style.scss

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,6 @@ td, th {
204204

205205
div {
206206
overflow: hidden;
207-
/*
208-
border-width: 0.1em;
209-
border-style: solid;
210-
border-radius: 0.5em;
211-
padding: 0 0.5em;
212-
background-color: #FFFFFF;
213-
*/
214207
}
215208
}
216209

@@ -227,11 +220,6 @@ td, th {
227220
width: 95%;
228221
background-color: #FFFFFF;
229222
color: #444;
230-
231-
-webkit-transition: all .2s ease-out;
232-
-moz-transition: all .2s ease-out;
233-
-ms-transition: all .2s ease-out;
234-
-o-transition: all .2s ease-out;
235223
transition: all .2s easeout;
236224
}
237225

@@ -332,8 +320,7 @@ td, th {
332320
margin: 2em auto;
333321
overflow: hidden;
334322
max-width: 800px;
335-
background: #FFFFFF;
336-
// background-image: url(/images/camelia-faded.png);
323+
background: #FFF;
337324
background-repeat: no-repeat;
338325
background-position: right 2em top 2em;
339326

@@ -375,13 +362,10 @@ td, th {
375362
}
376363

377364
@media (min-width: 110em) {
378-
/* #content:has(#TOC) {*/
379365
#content {
380366
max-width: none;
381367
min-width: 60em;
382368
width: 60em;
383-
// overflow: visible;
384-
// margin-left: 0em;
385369
display: table;
386370
background-image: none;
387371
}
@@ -559,16 +543,10 @@ a[href*="//"]:not([href*="perl6.org"])::after,
559543

560544

561545
.pencil{
562-
background: #fff; /* Old browsers */
563-
background: -moz-linear-gradient(top, #ffffff 0%, #ededed 100%); /* FF3.6+ */
564-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
565-
background: -webkit-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
566-
background: -o-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Opera11.10+ */
567-
background: -ms-linear-gradient(top, #ffffff 0%,#ededed 100%); /* IE10+ */
568-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
569-
background: linear-gradient(top, #ffffff 0%,#ededed 100%); /* W3C */
570-
border: 1px solid #CCCCCC;
571-
color: #777777;
546+
background: linear-gradient(to bottom, #fff 0%, #ededed 100%);
547+
border: 1px solid #CCC;
548+
color: #777;
572549
cursor: pointer;
573-
overflow: visible; border-radius: 4px 4px 4px 4px;
550+
overflow: visible;
551+
border-radius: 4px;
574552
}

0 commit comments

Comments
 (0)