added v1 override styles to style v1 blockquoates as notes

pull/1387/head
Scott Anderson 2020-07-31 14:10:22 -06:00
parent 9257f25d9a
commit f156570fe5
5 changed files with 88 additions and 11 deletions

View File

@ -0,0 +1,76 @@
body.v1{
.article .article--content {
blockquote {
padding: 1.65rem 2rem .1rem 2rem;
margin: 1rem 0 2rem;
border-width: 0 0 0 4px;
border-style: solid;
border-radius: 0 $radius $radius 0;
p,li {
font-size: .95rem;
font-style: inherit;
}
ul,ol {
&:last-child { margin-bottom: 1.85rem; }
}
border-color: $article-note-base;
background: rgba($article-note-base, .1);
h1,h2,h3,h4,h5,h6 {
color: $article-note-heading;
}
p, li {
color: $article-note-text;
}
strong {
color: inherit;
}
a {
color: $article-note-link;
code:after {
border-color: transparent rgba($article-note-code, .35) transparent transparent;
}
&:hover {
color: $article-note-link-hover;
code:after {
border-color: transparent $article-note-link-hover transparent transparent;
}
}
}
ol li:before {
color: $article-note-text;
}
code, pre{
color: $article-note-code;
background: $article-note-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-note-shadow;
}
table{
color: $article-note-text;
box-shadow: 1px 3px 10px $article-note-shadow;
thead{
@include gradient($article-note-table-header);
}
tr:nth-child(even) td {
background: $article-note-table-row-alt;
}
}
blockquote {
border-color: rgba($article-note-text, .25);
p { color: rgba($article-note-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-note-text, .5);
&:hover { color: rgba($article-note-text, 1); }
&.is-active {
color: rgba($article-note-text, 1);
background: $article-note-code-bg};
}
}
}
}

View File

@ -23,4 +23,5 @@
"layouts/landing",
"layouts/error-page",
"layouts/url-selector",
"layouts/feature-callouts";
"layouts/feature-callouts",
"layouts/v1-overrides";

View File

@ -12,9 +12,9 @@ When configured with a signed certificate, HTTPS can also verify the authenticit
This pages outlines how to set up HTTPS with InfluxDB Enterprise using either a signed or self-signed certificate.
<dt>
{{% warn %}}
InfluxData **strongly recommends** enabling HTTPS, especially if you plan on sending requests to InfluxDB Enterprise over a network.
</dt>
{{% /warn %}}
{{% note %}}
These steps have been tested on Debian-based Linux distributions.
@ -85,7 +85,7 @@ Consult your CA if you are unsure about how to use these files.
{{% /note %}}
3. **Ensure file permissions for each Node**
Certificate files require read and write access by the `influxdb` user.
Ensure that you have the correct file permissions in each meta node and data node by running the following commands:
@ -212,7 +212,7 @@ With a self-signed certificate, you must also use the `-k` option to skip certif
ID TCP Address Version
4 enterprise-data-01:8088 1.x.y-c1.x.y
5 enterprise-data-02:8088 1.x.y-c1.x.y
Meta Nodes
==========
TCP Address Version
@ -228,7 +228,7 @@ With a self-signed certificate, you must also use the `-k` option to skip certif
```
If using a self-signed certificate, use
```sh
influx -ssl -unsafeSsl -host <domain_name>.com
```

View File

@ -12,9 +12,9 @@ When configured with a signed certificate, HTTPS can also verify the authenticit
This pages outlines how to set up HTTPS with InfluxDB Enterprise using either a signed or self-signed certificate.
<dt>
{{% warn %}}
InfluxData **strongly recommends** enabling HTTPS, especially if you plan on sending requests to InfluxDB Enterprise over a network.
</dt>
{{% /warn %}}
{{% note %}}
These steps have been tested on Debian-based Linux distributions.
@ -212,7 +212,7 @@ With a self-signed certificate, you must also use the `-k` option to skip certif
ID TCP Address Version
4 enterprise-data-01:8088 1.x.y-c1.x.y
5 enterprise-data-02:8088 1.x.y-c1.x.y
Meta Nodes
==========
TCP Address Version
@ -228,7 +228,7 @@ With a self-signed certificate, you must also use the `-k` option to skip certif
```
If using a self-signed certificate, use
```sh
influx -ssl -unsafeSsl -host <domain_name>.com
```

View File

@ -29,5 +29,5 @@
<meta name="Copyright" content="InfluxData Inc." />
</head>
<body>
<body class='{{if ne $product nil}}{{ $product }}{{ end }}{{ if in $currentVersion "v1" }} v1{{ end }}'>
{{ partial "header/google-analytics-body.html" }}