ghcup-hs/docs/css/extra.css

252 lines
4.4 KiB
CSS
Raw Normal View History

2021-10-04 19:40:48 +00:00
h2
{
border-bottom:1px solid #CCC;
padding-bottom:5px;
padding-top:15px;
}
h1 {
text-align: center;
font-size: 60px;
font-weight: 300;
padding-top:15px;
}
h3 {
font-size: 30px;
padding-top:10px;
}
h4 {
font-size: 25px;
padding-top:10px;
}
2021-10-02 18:21:51 +00:00
div.col-md-9 h1:first-of-type {
text-align: center;
font-size: 60px;
font-weight: 300;
}
div.col-md-9>p:first-of-type {
text-align: center;
}
div.col-md-9 p.admonition-title:first-of-type {
text-align: left;
}
div.col-md-9 h1:first-of-type .headerlink {
display: none;
}
code.no-highlight {
color: black;
}
2021-10-02 20:26:35 +00:00
div.gh-badge img {
margin: 0;
padding: 0;
2021-10-02 20:31:44 +00:00
height: 25px;
2021-10-02 20:26:35 +00:00
}
a.donate-badge img {
margin-top: 10px;
margin-bottom: 0;
padding: 0;
height: 35px;
}
@media only screen and (min-width: 1000px) {
a.donate-badge img {
margin-top: 0;
}
2021-10-02 20:26:35 +00:00
}
2021-10-02 18:21:51 +00:00
/* Definition List styles */
dd {
padding-left: 20px;
}
/* Homepage */
body.homepage div.jumbotron {
margin-top: 1.5rem;
padding-top: 1rem;
padding-bottom: 0;
}
body.homepage div.jumbotron div.card {
margin-bottom: 2rem;
}
body.homepage>div.container div.col-md-3 {
2021-10-02 18:21:51 +00:00
display: none;
}
body.homepage>div.container div.col-md-9 {
/* margin-left: 0; */
/* padding-left: 0; */
2021-10-02 18:21:51 +00:00
flex: 0 0 100%;
max-width: 100%;
}
2021-10-02 21:29:40 +00:00
.center {
display: block !important;
}
2021-10-02 22:14:45 +00:00
.bg-primary {
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-repeat: no-repeat !important;
}
2021-10-02 22:22:00 +00:00
.btn-primary {
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-repeat: no-repeat !important;
color: #fff;
background-color: #996FC1;
border-color: #996FC1;
border-bottom: 1px solid #453A62;
}
.navbar {
2021-10-02 22:14:45 +00:00
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-repeat: no-repeat !important;
color: #fff;
background-color: #996FC1;
border-color: #996FC1;
border-bottom: 1px solid #453A62;
}
a {
color: #996FC2;
}
a:hover {
color: #674489;
}
.col-md-9 img.main-logo {
border: 0px;
padding: 0px;
margin: 0px;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
color: #fff;
background-color: #453A62;
2021-10-02 22:19:28 +00:00
border-color: #996FC1;
2021-10-02 22:14:45 +00:00
}
2021-10-02 22:28:53 +00:00
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
color: #fff;
background-color: #453A62;
}
2021-10-03 19:22:52 +00:00
.ghcup-intro {
text-align: center;
}
2021-10-06 16:32:28 +00:00
.main-buttons {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: center;
2021-10-03 19:22:52 +00:00
}
2021-10-06 16:32:28 +00:00
.main-buttons a {
margin-right: 5px;
margin-bottom: 5px;
2021-10-03 19:22:52 +00:00
}
.command-button {
display: flex;
align-items: center;
2021-10-03 19:22:52 +00:00
}
.command-button > pre {
flex: 0 1 80%;
margin: 0;
padding: 10px;
text-align: center;
2021-10-03 19:22:52 +00:00
background-color: #515151;
color: white;
border-radius: 3px;
box-shadow: inset 0px 0px 20px 0px #333333;
font-size: 1em;
white-space: nowrap;
overflow: auto;
2021-10-03 19:22:52 +00:00
}
.ghcup-command:before {
color: #999;
content: " $ ";
margin-left: 15px;
2021-10-03 19:22:52 +00:00
}
div.command-button {
display: flex;
align-items: center;
justify-content: center;
2021-10-03 19:22:52 +00:00
}
.command-button pre {
2021-10-06 16:32:28 +00:00
}
2021-10-06 16:32:28 +00:00
div.command-button button {
color: #515151;
background: rgb(230, 230, 230);
border: 1px solid grey;
margin: 0 0 0 10px;
padding: 10px;
flex-basis: 0 0 20%;
2021-10-06 16:32:28 +00:00
}
div.command-button button .fa {
font-size: x-large;
2021-10-03 19:22:52 +00:00
}
div.command-button button:hover {
background: rgb(220, 220, 220);
color: black;
border: 1px solid black;
2021-10-03 19:22:52 +00:00
}
div.command-button button:focus {
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;
2021-10-03 19:22:52 +00:00
}
/* fix list overflows (esp about page) */
ul > li {
overflow-wrap: anywhere;
}