Skip to content

Commit

Permalink
added highlighting to navbar and shadows to home page cards
Browse files Browse the repository at this point in the history
  • Loading branch information
jianmc2 committed Aug 19, 2022
1 parent d1d3265 commit 33dbb9b
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 21 deletions.
Binary file modified build/ui-bundle.zip
Binary file not shown.
27 changes: 27 additions & 0 deletions preview-src/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,33 @@ Vestibulum consectetur nec urna a luctus.
Quisque pharetra tristique arcu fringilla dapibus.
https://example.org[Curabitur,role=unresolved] ut massa aliquam, cursus enim et, accumsan lectus.

Welcome to the TigerGraph documentation site!
Here you can find the reference materials, guides, and examples to develop your application and scale your analytics with the power of graph.

== Get started

[cols="3,3,3",grid=none,frame=none]
|===
a|
=== TigerGraph Cloud

TigerGraph Cloud is a fully-managed cloud database built on the same TigerGraph Enterprise Server engine that is delivering the fastest and most scalable graph database.

xref:cloud:start:overview.adoc[]

a|
=== TigerGraph Server
TigerGraph, the world’s fastest and most scalable graph analytics platform, breaks through the limitations of other graph technologies to enable real-time big data graph applications.

xref:tigergraph-server:intro:index.adoc[]

a|
=== GSQL
The GSQL™ software program is the TigerGraph comprehensive environment for designing graph schemas, loading and managing data to build a graph, and querying the graph to perform data analysis.

xref:gsql-ref:intro:intro.adoc[]
|===

== Cu solet

Nominavi luptatum eos, an vim hinc philosophia intellegebat.
Expand Down
18 changes: 9 additions & 9 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,15 @@ h1.page + aside.toc.embedded {

.doc table.tableblock {
background: var(--body-background);
border-collapse: collapse;
border-collapse: separate;
font-size: calc(15 / var(--rem-base) * 1rem);
margin: 1.5rem 0 0;
margin-top: 1.5rem;
border-spacing: 0.75rem;
}

.doc td.tableblock {
border-radius: 1.5rem;
box-shadow: 0 2px 20px 0 rgb(0 0 0 / 20%);
}

@media screen and (min-width: 1024px) {
Expand All @@ -224,7 +230,7 @@ h1.page + aside.toc.embedded {

.doc table.tableblock th,
.doc table.tableblock td {
padding: 0.5rem;
padding: 1rem;
max-width: 150px;
word-wrap: break-word;
}
Expand All @@ -233,12 +239,6 @@ h1.page + aside.toc.embedded {
border-bottom: 2.5px solid var(--table-border-color);
}

.doc table.tableblock td,
.doc table.tableblock > :not(thead) th {
border-top: 1px solid var(--table-border-color);
border-bottom: 1px solid var(--table-border-color);
}

.doc table.stripes-all > tbody > tr,
.doc table.stripes-odd > tbody > tr:nth-of-type(odd),
.doc table.stripes-even > tbody > tr:nth-of-type(even),
Expand Down
11 changes: 8 additions & 3 deletions src/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,19 @@ body {
-ms-flex-align: center;
align-items: center;
background: #fff;
border: 2px solid #f78116;
border-radius: 0;
background-color: #f78116;
border-radius: 0.25rem;
height: 1.75rem;
color: #222;
color: white;
padding: 0.75em;
font-weight: 100;
white-space: nowrap;
}

.navbar .button:hover {
background-color: #fc6c04;
}

@media screen and (max-width: 1023.5px) {
.navbar-brand {
height: inherit;
Expand Down
7 changes: 0 additions & 7 deletions src/css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,6 @@ html.is-clipped--nav {
transition: transform 0.3s linear;
}

.nav-item[data-depth="0"] > .nav-link,
.nav-item[data-depth="0"] > .nav-text {
padding-left: 1.5rem;
display: inline-block;
width: 80%;
}

.nav-item[data-depth="1"] > .nav-link,
.nav-item[data-depth="1"] > .nav-text {
padding-left: 1.5rem;
Expand Down
4 changes: 2 additions & 2 deletions src/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@

<a class="navbar-item" href="#">Home</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Docs</a>
<a class="navbar-link" href="#">Products</a>
<div class="navbar-dropdown">
<div class="dropdown-label">TigerGraph Server</div>
<div class="dropdown-category">
<a class="category-item" href="{{relativize site.components.tigergraph-server.url}}">{{site.components.tigergraph-server.title}}</a>
</div>

<div class="dropdown-label">TigerGraph UI tools</div>
<div class="dropdown-category">
<a class="category-item" href="{{relativize site.components.gui.url}}">{{site.components.gui.title}}</a>
Expand Down

0 comments on commit 33dbb9b

Please sign in to comment.