format extra.css with 2 spaces uniformly for readability

This commit is contained in:
Arjun Kathuria 2021-10-12 14:11:30 +05:30 committed by Julian Ospald
parent c0c6cd4fb3
commit 237ed173ee
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
1 changed files with 136 additions and 138 deletions

View File

@ -1,202 +1,202 @@
h2 h2
{ {
border-bottom:1px solid #CCC; border-bottom:1px solid #CCC;
padding-bottom:5px; padding-bottom:5px;
padding-top:15px; padding-top:15px;
} }
h1 { h1 {
text-align: center; text-align: center;
font-size: 60px; font-size: 60px;
font-weight: 300; font-weight: 300;
padding-top:15px; padding-top:15px;
} }
h3 { h3 {
font-size: 30px; font-size: 30px;
padding-top:10px; padding-top:10px;
} }
h4 { h4 {
font-size: 25px; font-size: 25px;
padding-top:10px; padding-top:10px;
} }
div.col-md-9 h1:first-of-type { div.col-md-9 h1:first-of-type {
text-align: center; text-align: center;
font-size: 60px; font-size: 60px;
font-weight: 300; font-weight: 300;
} }
div.col-md-9>p:first-of-type { div.col-md-9>p:first-of-type {
text-align: center; text-align: center;
} }
div.col-md-9 p.admonition-title:first-of-type { div.col-md-9 p.admonition-title:first-of-type {
text-align: left; text-align: left;
} }
div.col-md-9 h1:first-of-type .headerlink { div.col-md-9 h1:first-of-type .headerlink {
display: none; display: none;
} }
code.no-highlight { code.no-highlight {
color: black; color: black;
} }
div.gh-badge img { div.gh-badge img {
margin: 0; margin: 0;
padding: 0; padding: 0;
height: 25px; height: 25px;
} }
a.donate-badge img { a.donate-badge img {
margin-top: 10px; margin-top: 10px;
margin-bottom: 0; margin-bottom: 0;
padding: 0; padding: 0;
height: 35px; height: 35px;
} }
@media only screen and (min-width: 1000px) { @media only screen and (min-width: 1000px) {
a.donate-badge img { a.donate-badge img {
margin-top: 0; margin-top: 0;
} }
} }
/* Definition List styles */ /* Definition List styles */
dd { dd {
padding-left: 20px; padding-left: 20px;
} }
/* Homepage */ /* Homepage */
body.homepage div.jumbotron { body.homepage div.jumbotron {
margin-top: 1.5rem; margin-top: 1.5rem;
padding-top: 1rem; padding-top: 1rem;
padding-bottom: 0; padding-bottom: 0;
} }
body.homepage div.jumbotron div.card { body.homepage div.jumbotron div.card {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
body.homepage>div.container div.col-md-3 { body.homepage>div.container div.col-md-3 {
display: none; display: none;
} }
body.homepage>div.container div.col-md-9 { body.homepage>div.container div.col-md-9 {
/* margin-left: 0; */ /* margin-left: 0; */
/* padding-left: 0; */ /* padding-left: 0; */
flex: 0 0 100%; flex: 0 0 100%;
max-width: 100%; max-width: 100%;
} }
.center { .center {
display: block !important; display: block !important;
} }
.bg-primary { .bg-primary {
background-image: -webkit-gradient(linear, left top, left bottom, from(#996FC2), color-stop(60%, #6A478D), to(#5E5086)) !important; background-image: -webkit-gradient(linear, left top, left bottom, from(#996FC2), color-stop(60%, #6A478D), to(#5E5086)) !important;
background-image: linear-gradient(#996FC2, #6A478D 60%, #5E5086) !important; background-image: linear-gradient(#996FC2, #6A478D 60%, #5E5086) !important;
background-repeat: no-repeat !important; background-repeat: no-repeat !important;
} }
.btn-primary { .btn-primary {
background-image: -webkit-gradient(linear, left top, left bottom, from(#996FC2), color-stop(60%, #6A478D), to(#5E5086)) !important; background-image: -webkit-gradient(linear, left top, left bottom, from(#996FC2), color-stop(60%, #6A478D), to(#5E5086)) !important;
background-image: linear-gradient(#996FC2, #6A478D 60%, #5E5086) !important; background-image: linear-gradient(#996FC2, #6A478D 60%, #5E5086) !important;
background-repeat: no-repeat !important; background-repeat: no-repeat !important;
color: #fff; color: #fff;
background-color: #996FC1; background-color: #996FC1;
border-color: #996FC1; border-color: #996FC1;
border-bottom: 1px solid #453A62; border-bottom: 1px solid #453A62;
} }
.navbar { .navbar {
background-image: -webkit-gradient(linear, left top, left bottom, from(#996FC2), color-stop(60%, #6A478D), to(#5E5086)) !important; background-image: -webkit-gradient(linear, left top, left bottom, from(#996FC2), color-stop(60%, #6A478D), to(#5E5086)) !important;
background-image: linear-gradient(#996FC2, #6A478D 60%, #5E5086) !important; background-image: linear-gradient(#996FC2, #6A478D 60%, #5E5086) !important;
background-repeat: no-repeat !important; background-repeat: no-repeat !important;
color: #fff; color: #fff;
background-color: #996FC1; background-color: #996FC1;
border-color: #996FC1; border-color: #996FC1;
border-bottom: 1px solid #453A62; border-bottom: 1px solid #453A62;
} }
a { a {
color: #996FC2; color: #996FC2;
} }
a:hover { a:hover {
color: #674489; color: #674489;
} }
.col-md-9 img.main-logo { .col-md-9 img.main-logo {
border: 0px; border: 0px;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
} }
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus { .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
color: #fff; color: #fff;
background-color: #453A62; background-color: #453A62;
border-color: #996FC1; border-color: #996FC1;
} }
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus { .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
color: #fff; color: #fff;
background-color: #453A62; background-color: #453A62;
} }
.ghcup-intro { .ghcup-intro {
text-align: center; text-align: center;
} }
.main-buttons { .main-buttons {
display: flex; display: flex;
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
} }
.main-buttons a { .main-buttons a {
margin-right: 5px; margin-right: 5px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.command-button { .command-button {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.command-button > pre { .command-button > pre {
flex: 0 1 80%; flex: 0 1 80%;
margin: 0; margin: 0;
padding: 10px; padding: 10px;
text-align: center; text-align: center;
background-color: #515151; background-color: #515151;
color: white; color: white;
border-radius: 3px; border-radius: 3px;
box-shadow: inset 0px 0px 20px 0px #333333; box-shadow: inset 0px 0px 20px 0px #333333;
font-size: 1em; font-size: 1em;
white-space: nowrap; white-space: nowrap;
overflow: auto; overflow: auto;
} }
.ghcup-command:before { .ghcup-command:before {
color: #999; color: #999;
content: " $ "; content: " $ ";
margin-left: 15px; margin-left: 15px;
} }
div.command-button { div.command-button {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.command-button pre { .command-button pre {
@ -204,96 +204,94 @@ div.command-button {
} }
div.command-button button { div.command-button button {
color: #515151; color: #515151;
background: rgb(230, 230, 230); background: rgb(230, 230, 230);
border: 1px solid grey; border: 1px solid grey;
margin: 0 0 0 10px; margin: 0 0 0 10px;
padding: 10px; padding: 10px;
flex-basis: 0 0 20%; flex-basis: 0 0 20%;
} }
div.command-button button .fa { div.command-button button .fa {
font-size: x-large; font-size: x-large;
} }
div.command-button button:hover { div.command-button button:hover {
background: rgb(220, 220, 220); background: rgb(220, 220, 220);
color: black; color: black;
border: 1px solid black; border: 1px solid black;
} }
div.command-button button:focus { div.command-button button:focus {
background-color: #04aa6d; background-color: #04aa6d;
} }
footer > hr { footer > hr {
border-top: 0.5px solid #CCC; border-top: 0.5px solid #CCC;
} }
.qi-container { .qi-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
background-color: rgb(250, 250, 250); background-color: rgb(250, 250, 250);
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 2rem; margin-bottom: 2rem;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
border-radius: 3px; border-radius: 3px;
border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(204, 204, 204);
box-shadow: 0px 1px 4px 0px rgb(204, 204, 204); box-shadow: 0px 1px 4px 0px rgb(204, 204, 204);
} }
.ghcup-os-container { .ghcup-os-container {
width: 100%; width: 100%;
margin: 10px 0; margin: 10px 0;
} }
.ghcup-os-container > * { .ghcup-os-container > * {
text-align: center; text-align: center;
} }
/* fix list overflows (esp about page) */ /* fix list overflows (esp about page) */
ul > li { ul > li {
overflow-wrap: anywhere; overflow-wrap: anywhere;
} }
.footer { .footer {
color: grey; color: grey;
font-size: 0.7em; font-size: 0.7em;
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.footer div.show-all-platforms { .footer div.show-all-platforms {
display: inline-block; display: inline-block;
} }
#help, #collective { #help, #collective {
margin-bottom: 0px; margin-bottom: 0px;
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-top: 15px; margin-top: 15px;
text-align: center; text-align: center;
font-size: 0.8em;
} }
#help img { #help img {
border: none; border: none;
margin: 0px; margin: 0px;
height: 22px; height: 24px;
} }
#collective img { #collective img {
border: none; border: none;
margin: 0px; margin: 0px;
} }
#collective { #collective {
margin-top: 10px; margin-top: 10px;
} }