Skip to content

Commit 91b5c72

Browse files
committed
styles
Signed-off-by: Lee Calcote <[email protected]>
1 parent 41c7506 commit 91b5c72

File tree

11 files changed

+98
-304
lines changed

11 files changed

+98
-304
lines changed

assets/scss/Left side navigation.scss

Lines changed: 0 additions & 179 deletions
This file was deleted.
File renamed without changes.

assets/scss/_styles_project.scss

Lines changed: 68 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import 'fonts';
2+
@import 'content_project';
23

34
.navbar-brand {
45
margin: 1.5rem;
@@ -74,23 +75,63 @@ a:not([href]):not([class]), a:not([href]):not([class]):hover {
7475
text-decoration: none; }
7576

7677
// Taxonomy
77-
78-
.taxonomy-label {
79-
color: $gray-900;
80-
}
8178
.taxonomy-term {
82-
color: $black;
83-
background-color: $primary;
84-
& :hover {
85-
background-color: $secondary;
79+
background: $gray-600;
80+
border-width: 0;
81+
border-radius: 0 3px 3px 0;
82+
color: $white;
83+
display: inline-block;
84+
font-size: 1em;
85+
line-height: 1.5em;
86+
min-height: 1.5em;
87+
max-width: 100%;
88+
padding: 0 0.5em 0 1em;
89+
position: relative;
90+
margin: 0 0.5em 0.2em 0;
91+
text-decoration: none;
92+
-webkit-transition: color 0.2s;
93+
-webkit-clip-path: polygon(100% 0, 100% 100%, 0.8em 100%, 0 50%, 0.8em 0);
94+
clip-path: polygon(100% 0, 100% 100%, 0.8em 100%, 0 50%, 0.8em 0);
95+
96+
.taxonomy-count {
97+
color: $dark !important;
98+
}
99+
&:hover {
100+
background-color: $primary;
101+
color: $white;
102+
103+
.taxonomy-count {
104+
color: $dark !important;
105+
}
106+
}
107+
108+
&:hover::before {
109+
background: $primary;
110+
}
86111
}
87-
}
112+
.article-teaser {
113+
&.card {
114+
padding: 1em;
115+
margin-bottom: 1.5em;
116+
background-color: $dark;
117+
}
118+
119+
.breadcrumb {
120+
margin-bottom: 0em;
121+
font-size: 0.85rem;
122+
}
123+
124+
.article-meta {
125+
margin-bottom: 0em;
126+
}
127+
}
128+
129+
88130

89131
// Footer
90132
.td-footer {
91133
background-color: $black;
92134
bottom: 0%;
93-
position: absolute;
94135
width: 100%;
95136
z-index: 5;
96137

@@ -145,6 +186,23 @@ a:not([href]):not([class]), a:not([href]):not([class]):hover {
145186
}
146187
}
147188

189+
.td-toc {
190+
margin-top: 2rem;
191+
#TableOfContents {
192+
> ul > li > ul > li > a {
193+
}
194+
195+
a {
196+
color: $lightslategray;
197+
198+
&:hover {
199+
color: $white;
200+
text-decoration: none;
201+
}
202+
}
203+
}
204+
}
205+
148206
// pageinfo
149207
.pageinfo {
150208
font-weight: $font-weight-medium;

assets/scss/_variables_project.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ $bs-link-color: $danger;
5454
$link-decoration: none !default;
5555
$link-shade-percentage: 30% !default;
5656
$link-color: $white !default;
57+
5758
// Fonts
5859

5960
$td-enable-google-fonts: false;

assets/scss/tax.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@
332332
&.card {
333333
padding: 1em;
334334
margin-bottom: 1.5em;
335+
background-color: $dark;
335336
}
336337

337338
.breadcrumb {

content/en/Cloud/Concepts/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ This is a placeholder page that shows you how to use this template site.
1212
For many projects, users may not need much information beyond the information in the [Overview](/docs/overview/), so this section is **optional**. However if there are areas where your users will need a more detailed understanding of a given term or feature in order to do anything useful with your project (or to not make mistakes when using it) put that information in this section. For example, you may want to add some conceptual pages if you have a large project with many components and a complex architecture.
1313

1414
Remember to focus on what the user needs to know, not just what you think is interesting about your project! If they don’t need to understand your original design decisions to use or contribute to the project, don’t put them in, or include your design docs in your repo and link to them. Similarly, most users will probably need to know more about how features work when in use rather than how they are implemented. Consider a separate architecture page for more detailed implementation and system design information that potential project contributors can consult.
15+
16+
17+
{{ $context := . }}
18+
{{ range $taxo, $taxo_map := .Site.Taxonomies }}
19+
{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }}
20+
{{ end }}

content/en/_index.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,39 @@ title: Layer5
2323
</div>
2424

2525
<div style="margin-top:25%;padding-top:25%"><a href="/cloud" class="dash">Expect More from Your Infrastructure</a> </div>
26+
<div class="taxonomy taxonomy-terms-cloud taxo-categories">
27+
<h5 class="taxonomy-title">Cloud of Categories</h5>
28+
<ul class="taxonomy-terms">
29+
<li><a class="taxonomy-term" href="//localhost:1313/categories/category-1/" data-taxonomy-term="category-1"><span class="taxonomy-label">category 1</span><span class="taxonomy-count">3</span></a></li>
30+
<li><a class="taxonomy-term" href="//localhost:1313/categories/category-2/" data-taxonomy-term="category-2"><span class="taxonomy-label">category 2</span><span class="taxonomy-count">1</span></a></li>
31+
<li><a class="taxonomy-term" href="//localhost:1313/categories/category-3/" data-taxonomy-term="category-3"><span class="taxonomy-label">category 3</span><span class="taxonomy-count">2</span></a></li>
32+
<li><a class="taxonomy-term" href="//localhost:1313/categories/category-4/" data-taxonomy-term="category-4"><span class="taxonomy-label">category 4</span><span class="taxonomy-count">6</span></a></li>
33+
</ul>
34+
</div>
2635

2736

2837
<div class="dash-tangle"></div>
2938
<div class="dash-ircle"></div>
3039

3140
{{< /blocks/cover >}}
3241

33-
<!--
42+
{{< card header="**Imagine**" title="Artist and songwriter: John Lennon" subtitle="Co-writer: Yoko Ono"
43+
footer="![SignatureJohnLennon](https://server.tld/…/signature.png 'Signature John Lennon')">}}
44+
Imagine there's no heaven, It's easy if you try<br/>
45+
No hell below us, above us only sky<br/>
46+
Imagine all the people living for today…
47+
48+
49+
{{< /card >}}
50+
3451

3552
{{% blocks/lead color="primary" %}}
3653
Jump right in and learn about Layer5.
3754
{{< blocks/link-down color="info" >}}
3855

3956
{{% /blocks/lead %}}
4057

41-
58+
<!--
4259
{{% blocks/section color="dark" type="row" %}}
4360
{{% blocks/feature icon="fa-lightbulb" title="New chair metrics!" %}}
4461
The Goldydocs UI now shows chair size metrics by default.

hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ category = "categories"
2626
taxonomyCloud = ["tags", "categories"]
2727

2828
# If used, must have same length as taxonomyCloud
29-
taxonomyCloudTitle = ["Tag Cloud", "Categories"]
29+
taxonomyCloudTitle = ["Tags", "Categories"]
3030

3131
# set taxonomyPageHeader = [] to hide taxonomies on the page headers
3232
taxonomyPageHeader = ["tags", "categories"]

0 commit comments

Comments
 (0)