refactor: apply fixed from codefactor (#3) (#44780)

Co-authored-by: codefactor-io <support@codefactor.io>

Co-authored-by: codefactor-io <support@codefactor.io>
This commit is contained in:
Mrugesh Mohapatra
2022-01-14 22:23:34 +05:30
committed by GitHub
parent 4188c1a252
commit 685344ae45
6 changed files with 28 additions and 28 deletions

View File

@ -27,7 +27,7 @@
.universal-nav-left { .universal-nav-left {
display: flex; display: flex;
flex: 1 0 33%; flex: 1 0 33%;
margin-left: 0px; margin-left: 0;
z-index: 2000; z-index: 2000;
} }
@ -75,7 +75,7 @@
display: block; display: block;
width: auto; width: auto;
height: 24px; height: 24px;
margin: 7px 0px; margin: 7px 0;
} }
.nav-list { .nav-list {
@ -83,7 +83,7 @@
position: absolute; position: absolute;
background-color: var(--theme-color); background-color: var(--theme-color);
top: calc(var(--header-height) * 2); top: calc(var(--header-height) * 2);
right: 0px; right: 0;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: flex-end; justify-content: flex-end;
width: 100vw; width: 100vw;
@ -96,7 +96,7 @@
.nav-link { .nav-link {
margin: 0; margin: 0;
padding: 2px 15px 0 15px; padding: 2px 15px 0;
display: flex; display: flex;
align-items: center; align-items: center;
color: var(--gray-00); color: var(--gray-00);
@ -198,7 +198,7 @@
} }
.toggle-button-nav { .toggle-button-nav {
padding: 2px 14px 2px; padding: 2px 14px;
border: 1px solid var(--gray-00); border: 1px solid var(--gray-00);
font-family: 'lato', sans-serif; font-family: 'lato', sans-serif;
font-size: 18px; font-size: 18px;
@ -338,7 +338,7 @@
display: flex; display: flex;
position: absolute; position: absolute;
left: 17px; left: 17px;
top: 0px; top: 0;
} }
.expand-nav { .expand-nav {

View File

@ -11,12 +11,12 @@
.logo-row h2 { .logo-row h2 {
height: 35px; height: 35px;
padding: 0 10px 0 10px; padding: 0 10px;
} }
.landing-page ul { .landing-page ul {
list-style: none; list-style: none;
padding-left: 0px; padding-left: 0;
} }
.quote-partial .blockquote { .quote-partial .blockquote {

View File

@ -15,14 +15,14 @@
.landing-page ul { .landing-page ul {
list-style: none; list-style: none;
padding-left: 0px; padding-left: 0;
} }
#featured-logos { #featured-logos {
max-width: 600px; max-width: 600px;
} }
.landing-top h1:first-child { .landing-top h1:first-child {
margin-top: 0px; margin-top: 0;
} }
.landing-page h1, .landing-page h1,
@ -32,7 +32,7 @@
} }
p.caption { p.caption {
margin: 10px 0 0 0; margin: 10px 0 0;
font-size: 0.8rem; font-size: 0.8rem;
color: var(--quaternary-color); color: var(--quaternary-color);
} }
@ -132,7 +132,7 @@ p.caption {
max-width: 350px; max-width: 350px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 10px 10px 50px 10px; margin: 10px 10px 50px;
background: var(--gray-00); background: var(--gray-00);
-webkit-box-shadow: 0 3px 13px 1px rgba(0, 0, 0, 0.09); -webkit-box-shadow: 0 3px 13px 1px rgba(0, 0, 0, 0.09);
box-shadow: 0 3px 13px 1px rgba(0, 0, 0, 0.09); box-shadow: 0 3px 13px 1px rgba(0, 0, 0, 0.09);
@ -149,7 +149,7 @@ p.caption {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
text-align: center; text-align: center;
padding: 10px 0px 30px 0px; padding: 10px 0 30px;
} }
.testimonial-meta p, .testimonial-meta p,
@ -208,7 +208,7 @@ p.caption {
height: 100%; height: 100%;
} }
.testimonial-meta { .testimonial-meta {
padding: 0px 0px 30px; padding: 0 0 30px;
} }
.testimonial-meta p, .testimonial-meta p,
.testimonial-meta strong { .testimonial-meta strong {

View File

@ -16,7 +16,7 @@
.tool-panel-group-mobile > .btn-block, .tool-panel-group-mobile > .btn-block,
.tool-panel-group-mobile > .dropdown > .btn-block { .tool-panel-group-mobile > .dropdown > .btn-block {
margin: 0 2px 0 0; margin: 0 2px 0 0;
padding: 5px 0px; padding: 5px 0;
} }
.tool-panel-group .btn-group { .tool-panel-group .btn-group {
@ -28,7 +28,7 @@
.tool-panel-group-mobile .btn-group { .tool-panel-group-mobile .btn-group {
display: block; display: block;
width: 100%; width: 100%;
margin: 0 2px 0 2px; margin: 0 2px;
} }
.tool-panel-group-mobile .btn { .tool-panel-group-mobile .btn {

View File

@ -67,7 +67,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
padding: 25px 15px 10px 0px; padding: 25px 15px 10px 0;
margin: 0 0 0.6rem; margin: 0 0 0.6rem;
flex-grow: 2; flex-grow: 2;
flex-basis: 0; flex-basis: 0;
@ -240,7 +240,7 @@ button.map-title {
flex: 1 1 100px; flex: 1 1 100px;
} }
.map-challenge-title-grid a.map-grid-item { .map-challenge-title-grid a.map-grid-item {
margin: 5px 0px; margin: 5px 0;
justify-content: center; justify-content: center;
} }
@ -274,7 +274,7 @@ button.map-title {
} }
.block-cta-wrapper { .block-cta-wrapper {
padding: 25px 15px 10px 15px; padding: 25px 15px 10px;
} }
.course-title, .course-title,

View File

@ -30,12 +30,12 @@ body .content {
/****** Nav ****/ /****** Nav ****/
.universal-nav { .universal-nav {
margin: 0px; margin: 0;
width: 100vw; width: 100vw;
height: 38px; height: 38px;
background-color: var(--theme-color); background-color: var(--theme-color);
position: fixed; position: fixed;
top: 0px; top: 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
z-index: 100; z-index: 100;
@ -48,11 +48,11 @@ body .content {
line-height: 24px; line-height: 24px;
font-size: 16px; font-size: 16px;
margin: 6px 0; margin: 6px 0;
padding: 0 0; padding: 0;
} }
.universal-nav img { .universal-nav img {
margin: 7px 0px; margin: 7px 0;
height: 24px; height: 24px;
} }
@ -193,7 +193,7 @@ section.cover.show ~ .sidebar-toggle {
} }
.sidebar { .sidebar {
padding: 0px; padding: 0;
} }
.sidebar-toggle { .sidebar-toggle {
@ -280,7 +280,7 @@ body.close .github-corner {
.markdown-section code { .markdown-section code {
background-color: #f8f8f8; background-color: #f8f8f8;
color: #525252; color: #525252;
padding: 0.05em 0.15em 0.15em 0.15em; padding: 0.05em 0.15em 0.15em;
margin: 0.05em; margin: 0.05em;
font-size: 16px; font-size: 16px;
line-height: 24px; line-height: 24px;
@ -305,7 +305,7 @@ body.close .github-corner {
.markdown-section a > strong > code { .markdown-section a > strong > code {
background-color: #f8f8f8; background-color: #f8f8f8;
color: #525252; color: #525252;
padding: 0.05em 0.15em 0 0.15em; padding: 0.05em 0.15em 0;
margin: 0.05em; margin: 0.05em;
} }
@ -315,7 +315,7 @@ body.close .github-corner {
.markdown-section a > strong > code:active { .markdown-section a > strong > code:active {
background-color: #525252; background-color: #525252;
color: #f8f8f8; color: #f8f8f8;
padding: 0.05em 0.15em 0 0.15em; padding: 0.05em 0.15em 0;
margin: 0.05em; margin: 0.05em;
} }
@ -327,7 +327,7 @@ body.close .github-corner {
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.markdown-section { .markdown-section {
max-width: 90%; max-width: 90%;
padding: 40px 15px 40px 15px; padding: 40px 15px;
} }
} }