fix: prettify css

This commit is contained in:
Oliver Eyton-Williams
2019-07-19 11:10:46 +02:00
committed by mrugesh
parent b8593326b0
commit 04382bc475
16 changed files with 40 additions and 32 deletions

View File

@ -14,12 +14,12 @@
.footer a:not([class*='inline']) { .footer a:not([class*='inline']) {
display: block; display: block;
padding-left: 5px padding-left: 5px;
} }
.footer a:hover { .footer a:hover {
outline-offset: 1px; outline-offset: 1px;
outline: 1px dashed #A0A0A0; outline: 1px dashed #a0a0a0;
background-color: #ffbe41; background-color: #ffbe41;
} }
@ -35,5 +35,5 @@
.night .footer a:hover { .night .footer a:hover {
color: #606f7b; color: #606f7b;
outline-offset: 1px; outline-offset: 1px;
outline: 1px dashed #A0A0A0; outline: 1px dashed #a0a0a0;
} }

View File

@ -1,4 +1,3 @@
#top-nav .menu-button { #top-nav .menu-button {
color: white; color: white;
background-color: transparent; background-color: transparent;

View File

@ -29,8 +29,9 @@ h6 {
color: #006400; color: #006400;
} }
a:hover, a:focus { a:hover,
text-decoration: none; a:focus {
text-decoration: none;
} }
.fcc-modal { .fcc-modal {
@ -42,4 +43,4 @@ a:hover, a:focus {
color: #fff; color: #fff;
font-size: 28px; font-size: 28px;
text-shadow: none; text-shadow: none;
} }

View File

@ -471,7 +471,12 @@ hr {
padding-right: 0; padding-right: 0;
padding-top: 0; padding-top: 0;
margin-bottom: calc(1.45rem - 1px); margin-bottom: calc(1.45rem - 1px);
background-image: linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,.75),rgba(0,0,0,0)); background-image: linear-gradient(
to right,
rgba(0, 0, 0, 0),
rgba(0, 0, 0, 0.75),
rgba(0, 0, 0, 0)
);
border: none; border: none;
height: 1px; height: 1px;
} }
@ -582,7 +587,7 @@ code {
border-radius: 3px; border-radius: 3px;
font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono', font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono',
'Liberation Mono', Menlo, Courier, monospace; 'Liberation Mono', Menlo, Courier, monospace;
padding: .2em .3em; padding: 0.2em 0.3em;
} }
pre code { pre code {
background: none; background: none;

View File

@ -5,4 +5,4 @@
.portfolio-screen-shot { .portfolio-screen-shot {
width: 150px; width: 150px;
min-width: 150px; min-width: 150px;
} }

View File

@ -12,11 +12,11 @@
line-height: 40px; line-height: 40px;
} }
.table>thead>tr>th, .table > thead > tr > th,
.table>tbody>tr>th, .table > tbody > tr > th,
.table>tfoot>tr>th, .table > tfoot > tr > th,
.table>thead>tr>td, .table > thead > tr > td,
.table>tbody>tr>td, .table > tbody > tr > td,
.table>tfoot>tr>td { .table > tfoot > tr > td {
border: none; border: none;
} }

View File

@ -4,7 +4,8 @@
border-color: #ad1601; border-color: #ad1601;
} }
.btn-danger:hover, .btn-danger:focus { .btn-danger:hover,
.btn-danger:focus {
background-color: #ad1601; background-color: #ad1601;
} }
.danger-zone .panel-heading { .danger-zone .panel-heading {

View File

@ -1,4 +1,4 @@
.btn-delete-portfolio { .btn-delete-portfolio {
background-color: #fff; background-color: #fff;
color: #f11e00 color: #f11e00;
} }

View File

@ -1,3 +1,4 @@
.solution-viewer, .solution-viewer pre { .solution-viewer,
.solution-viewer pre {
margin-bottom: 0px; margin-bottom: 0px;
} }

View File

@ -6,4 +6,4 @@
.toggle-setting-container .form-group label { .toggle-setting-container .form-group label {
max-width: 50%; max-width: 50%;
} }

View File

@ -1,13 +1,13 @@
/* /*
Embrace the cascade to override night mode styles Embrace the cascade to override night mode styles
This ensures a consistent landing page, even for users with nigt mode enabled This ensures a consistent landing page, even for users with nigt mode enabled
*/ */
.night body .landing-page{ .night body .landing-page {
background-color: #fff; background-color: #fff;
color: #333; color: #333;
} }
.night .landing-page #top-right-nav li > a, .night #top-right-nav li > span { .night .landing-page #top-right-nav li > a,
.night #top-right-nav li > span {
color: #fff; color: #fff;
} }
.night .landing-page a { .night .landing-page a {

View File

@ -1,3 +1,3 @@
.control-label.email-label { .control-label.email-label {
text-align: left; text-align: left;
} }

View File

@ -25,6 +25,6 @@ p.stats span {
color: #67d269; color: #67d269;
} }
.night .quote-partial .blockquote { .night .quote-partial .blockquote {
background-color: #333; background-color: #333;
} }

View File

@ -2,8 +2,8 @@
font-size: 16px; font-size: 16px;
} }
.challenge-instructions blockquote, .challenge-instructions blockquote,
.challenge-instructions pre { .challenge-instructions pre {
background-color: #eee; background-color: #eee;
color: #c7254e; color: #c7254e;
padding: 10px 10px 10px 15px; padding: 10px 10px 10px 15px;
@ -18,6 +18,7 @@
.challenge-instructions pre code { .challenge-instructions pre code {
line-height: 1.42; line-height: 1.42;
text-shadow: none; text-shadow: none;
font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono', 'Liberation Mono', Menlo, Courier, monospace; font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono',
'Liberation Mono', Menlo, Courier, monospace;
color: #c7254e; color: #c7254e;
} }

View File

@ -28,4 +28,4 @@
.test-status-icon > svg { .test-status-icon > svg {
width: 50px; width: 50px;
height: 50px; height: 50px;
} }

View File

@ -5,4 +5,4 @@
align-items: center; align-items: center;
max-width: 960px; max-width: 960px;
margin: 0 auto; margin: 0 auto;
} }