Skip to content
Snippets Groups Projects

Fix new website mobile views and cleanup styles

Merged Arjun Kathuria requested to merge arjun/ghcup-hs:fix-styles into master
2 files
+ 102
70
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 72
44
@@ -52,10 +52,16 @@ div.gh-badge img {
@@ -52,10 +52,16 @@ div.gh-badge img {
}
}
a.donate-badge img {
a.donate-badge img {
margin-top: 10;
margin-top: 10px;
margin-bottom: 0;
margin-bottom: 0;
padding: 0;
padding: 0;
height: 35px;
height: 35px;
 
}
 
 
@media only screen and (min-width: 1000px) {
 
a.donate-badge img {
 
margin-top: 0;
 
}
}
}
/* Definition List styles */
/* Definition List styles */
@@ -81,8 +87,8 @@ body.homepage>div.container div.col-md-3 {
@@ -81,8 +87,8 @@ body.homepage>div.container div.col-md-3 {
}
}
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%;
}
}
@@ -146,78 +152,100 @@ a:hover {
@@ -146,78 +152,100 @@ a:hover {
background-color: #453A62;
background-color: #453A62;
}
}
 
.ghcup-intro {
 
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%;
 
margin: 0;
 
padding: 10px;
 
text-align: center;
background-color: #515151;
background-color: #515151;
color: white;
color: white;
margin: auto;
margin-top: 0px;
padding-top: 1rem;
padding-bottom: 1rem;
padding-right: 1rem;
text-align: center;
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;
width: 55rem;
white-space: nowrap;
overflow: auto;
overflow: auto;
white-space: nowrap;
}
}
.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;
}
}
div.command-button button {
.command-button pre {
color: #515151;
/* border: none; */
background: rgb(230, 230, 230);
border-width: 2px !important;
border-style: solid !important;
border-radius: 3px !important;
border: grey;
margin-left: 0.5rem !important;
}
margin-right: auto !important;
text-align: center !important;
padding: 18px;
div.command-button button {
padding-bottom: 16px;
color: #515151;
 
background: rgb(230, 230, 230);
 
border: 1px solid grey;
 
margin: 0 0 0 10px;
 
padding: 10px;
 
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: black;
border: 1px solid black;
}
}
div.command-button button:focus {
div.command-button button:focus {
color: green;
background-color: #04aa6d;
 
}
 
 
footer > hr {
 
border-top: 0.5px solid #CCC;
 
}
 
 
.qi-container {
 
display: flex;
 
flex-direction: column;
 
align-items: center;
 
}
 
 
.ghcup-os-container {
 
width: 100%;
 
margin: 10px 0;
 
}
 
.ghcup-os-container > * {
 
text-align: center;
}
}
 
 
/* fix list overflows (esp about page) */
 
ul > li {
 
overflow-wrap: anywhere;
 
}
 
Loading