opentofu/website/source/assets/stylesheets/_docs.scss
Martin Atkins f6fd41e7b5 tls provider
As of this commit this provider has only logical resources that allow
the creation of private keys, self-signed certs and certificate requests.
These can be useful when creating other resources that use TLS
certificates, such as AWS Elastic Load Balancers.

Later it could grow to include support for real certificate provision from
CAs using the LetsEncrypt ACME protocol, once it is stable.
2015-10-22 21:48:32 -07:00

295 lines
4.3 KiB
SCSS
Executable File

//
// Docs
// --------------------------------------------------
body.page-sub{
background-color: $light-black;
}
body.layout-atlas,
body.layout-aws,
body.layout-azure,
body.layout-cloudflare,
body.layout-cloudstack,
body.layout-consul,
body.layout-digitalocean,
body.layout-dme,
body.layout-dnsimple,
body.layout-docker,
body.layout-google,
body.layout-heroku,
body.layout-mailgun,
body.layout-openstack,
body.layout-packet,
body.layout-rundeck,
body.layout-template,
body.layout-tls,
body.layout-vsphere,
body.layout-docs,
body.layout-downloads,
body.layout-inner,
body.layout-intro{
background: $light-black image-url('sidebar-wire.png') left 62px no-repeat;
>.container{
.col-md-8[role=main]{
min-height: 800px;
background-color: white;
>div{
position: relative;
z-index: 10;
}
}
}
}
.docs-sidebar{
position: relative;
z-index: 20;
margin-bottom: 30px;
margin-top: 50px;
margin-right: 4%;
a{
color: $purple;
}
.docs-sidenav{
padding-top: 15px;
padding-bottom: 15px;
:last-child{
border-bottom: none;
}
//all li > a
li{
position: relative;
> a{
color: white;
@include transition( color 0.5s ease );
}
> a:hover,
> a:focus {
background-color: transparent !important;
color: white;
@include transition( color 0.5s ease );
}
}
> li {
padding: 10px 0;
margin: 0 30px;
>.nav{
li{
a{
color: white;
}
}
}
&.active {
>a{
color: lighten($purple, 4%);
font-weight: 500;
}
&:before{
content: '';
position: absolute;
width: 6px;
height: 8px;
background-color: $purple;
font-weight: 500;
@include skewY(24deg);
top: 26px;
left: -10px;
}
> a{
-webkit-font-smoothing: antialiased;
}
/*> a:hover,
> a:focus {
font-weight: $font-weight-lato-xb;
}*/
.nav {
display: block;
li.active a {
color: lighten($purple, 4%);
font-weight: 500;
}
}
}
> a {
text-transform: uppercase;
-webkit-font-smoothing: antialiased;
}
}
.nav {
display: none;
margin-bottom: 15px;
> li{
margin-left: 20px;
> a{
-webkit-font-smoothing: antialiased;
padding: 6px 15px;
}
}
}
.nav-visible {
display: block;
}
}
}
.bs-docs-section{
padding-top: 10px;
padding-left: 3%;
padding-bottom: 80px;
.lead{
margin-bottom: 48px
}
.doc-sectional{
margin-bottom: 48px;
}
p, li, .alert {
font-size: 20px;
font-family: $font-family-open-sans;
font-weight: $font-weight-open;
line-height: 1.5em;
margin: 0 0 18px;
-webkit-font-smoothing: antialiased;
}
pre{
margin: 0 0 18px;
}
a{
color: $purple;
&:hover{
text-decoration: underline;
}
}
img{
max-width: 650px;
margin-top: 25px;
margin-bottom: 25px;
}
h1{
color: $purple;
text-transform: uppercase;
padding-bottom: 24px;
margin-top: 40px;
margin-bottom: 24px;
border-bottom: 1px solid #eeeeee;
@include lato-light();
}
h2, h3, h4{
margin-bottom: 16px;
}
#graph {
margin-top: 30px;
}
}
@media (max-width: 992px) {
body.layout-docs,
body.layout-inner,
body.layout-intro{
>.container{
.col-md-8[role=main]{
min-height: 0;
&::before {
border-left: 9999px solid white;
}
}
}
}
body.page-sub{
>.container{
background-color: white;
}
}
.docs-sidebar{
margin-top: 0px;
margin-bottom: 0px;
.docs-sidenav{
padding-bottom: 0;
//all li > a
li{
> a{
color: black;
@include transition( color 0.5s ease );
}
> a:hover,
> a:focus {
color: $purple;
@include transition( color 0.5s ease );
}
}
> li {
>.nav{
li{
a{
color: black;
&:hover{
color: $purple;
}
}
}
}
}
}
}
.bs-docs-section{
h1{
padding-top: 24px;
border-top: 1px solid #eeeeee;
}
}
}
@media (max-width: 480px) {
.bs-docs-section{
img{
max-width: 450px;
}
h1{
font-size: 32px;
}
}
}