This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
263 changed files
with
22,067 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/dist/ | ||
/resources/ | ||
/code/*.html | ||
/code/**/*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM nginx:stable | ||
|
||
COPY dist /usr/share/nginx/html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# cuetorials.com | ||
|
||
Hugo static website based on the ACE documentatino theme. | ||
|
||
- https://cutorials.com | ||
- https://gohugo.io | ||
- https://themes.gohugo.io/ace-documentation/ | ||
- https://docs.vantage-design.com/ace/ | ||
|
||
You can run this locally using the normal hugo commands. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
/* ------------------------------------------------------------------------- | ||
* ACE DOCUMENTATION | ||
* Stylesheet | ||
* @author Vantage Design | ||
* @version 1.0.4 | ||
* @license https://github.com/vantagedesign/ace-documentation/blob/master/LICENSE | ||
* ------------------------------------------------------------------------ */ | ||
|
||
$primary: #02344d; | ||
$secondary: #6610f2; | ||
$success: #28a745; | ||
$info: #17a2b8; | ||
$warning: #ffc107; | ||
$danger: #dc3545; | ||
$light: #f8f9fa; | ||
$dark: #343a40; | ||
|
||
@import "bootstrap/bootstrap"; | ||
|
||
/* Typography styling */ | ||
.main > h1{ | ||
padding-top: 2rem; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.main > h2, .main > h3, .main > h4, .main > h5, .main > h6{ | ||
margin-top: 1rem; | ||
} | ||
|
||
.haschildren ul{ | ||
color: gray; | ||
display:none; | ||
} | ||
|
||
.haschildren.active ul, .haschildren.parent ul{ | ||
display:block; | ||
} | ||
|
||
.highlight > pre { | ||
padding:15px; | ||
} | ||
|
||
.navbar-brand { | ||
font-size: 2rem; | ||
img { | ||
height: 3rem; | ||
} | ||
} | ||
|
||
/* Side navigation menus */ | ||
.docs-sidenav span.badge.badge-primary, .docs-toc span.badge.badge-primary{ | ||
font-size: 10px; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
.docs-sidenav, .docs-toc{ | ||
height: calc(100vh - 8rem); | ||
top:4rem; | ||
position: sticky; | ||
} | ||
.docs-sidenav .navbar, .docs-toc .navbar{ | ||
padding-right: 0; | ||
} | ||
.docs-sidenav .navbar-collapse, .docs-sidenav .navbar-nav{ | ||
width: 100%; | ||
} | ||
.docs-sidenav .nav-link, .docs-toc li a{ | ||
display: flex; | ||
align-items: start; | ||
justify-content: space-between; | ||
} | ||
.docs-sidenav .nav-link > span.badge.badge-primary, .docs-toc li a > span.badge.badge-primary{ | ||
margin-top: 5px; | ||
} | ||
} | ||
|
||
@media (min-width: 1200px) { | ||
.docs-toc.large{ | ||
height: calc(100vh - 4rem); | ||
} | ||
} | ||
|
||
@media (max-width: 1200px) { | ||
.docs-toc.large{ | ||
display:none; | ||
} | ||
} | ||
|
||
.docs-toc{ | ||
padding-top: 10px; | ||
} | ||
|
||
.docs-toc a{ | ||
font-size: 14px; | ||
color: gray; | ||
} | ||
|
||
.docs-toc a:hover{ | ||
color: #333; | ||
} | ||
|
||
.docs-toc ul{ | ||
list-style: none; | ||
padding-left:8px; | ||
margin-top:3px; | ||
} | ||
|
||
.docs-toc ul:first-child{ | ||
padding-left:0; | ||
} | ||
|
||
/* Table tweak for JavaScript methods */ | ||
table td:first-child > code{ | ||
word-break: normal; | ||
} | ||
|
||
table > tbody > tr > td, .bd-content > table > tbody > tr > th, .bd-content > table > tfoot > tr > td, .bd-content > table > tfoot > tr > th, .bd-content > table > thead > tr > td, .bd-content > table > thead > tr > th { | ||
padding: .75rem; | ||
vertical-align: top; | ||
border: 1px solid #dee2e6; | ||
} | ||
|
||
table > thead { | ||
border: 1px solid #dee2e6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// | ||
// Base styles | ||
// | ||
|
||
.alert { | ||
position: relative; | ||
padding: $alert-padding-y $alert-padding-x; | ||
margin-bottom: $alert-margin-bottom; | ||
border: $alert-border-width solid transparent; | ||
@include border-radius($alert-border-radius); | ||
} | ||
|
||
// Headings for larger alerts | ||
.alert-heading { | ||
// Specified to prevent conflicts of changing $headings-color | ||
color: inherit; | ||
} | ||
|
||
// Provide class for links that match alerts | ||
.alert-link { | ||
font-weight: $alert-link-font-weight; | ||
} | ||
|
||
|
||
// Dismissible alerts | ||
// | ||
// Expand the right padding and account for the close button's positioning. | ||
|
||
.alert-dismissible { | ||
padding-right: $close-font-size + $alert-padding-x * 2; | ||
|
||
// Adjust close link position | ||
.close { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
padding: $alert-padding-y $alert-padding-x; | ||
color: inherit; | ||
} | ||
} | ||
|
||
|
||
// Alternate styles | ||
// | ||
// Generate contextual modifier classes for colorizing the alert. | ||
|
||
@each $color, $value in $theme-colors { | ||
.alert-#{$color} { | ||
@include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// Base class | ||
// | ||
// Requires one of the contextual, color modifier classes for `color` and | ||
// `background-color`. | ||
|
||
.badge { | ||
display: inline-block; | ||
padding: $badge-padding-y $badge-padding-x; | ||
@include font-size($badge-font-size); | ||
font-weight: $badge-font-weight; | ||
line-height: 1; | ||
text-align: center; | ||
white-space: nowrap; | ||
vertical-align: baseline; | ||
@include border-radius($badge-border-radius); | ||
@include transition($badge-transition); | ||
|
||
@at-root a#{&} { | ||
@include hover-focus() { | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
// Empty badges collapse automatically | ||
&:empty { | ||
display: none; | ||
} | ||
} | ||
|
||
// Quick fix for badges in buttons | ||
.btn .badge { | ||
position: relative; | ||
top: -1px; | ||
} | ||
|
||
// Pill badges | ||
// | ||
// Make them extra rounded with a modifier to replace v3's badges. | ||
|
||
.badge-pill { | ||
padding-right: $badge-pill-padding-x; | ||
padding-left: $badge-pill-padding-x; | ||
@include border-radius($badge-pill-border-radius); | ||
} | ||
|
||
// Colors | ||
// | ||
// Contextual variations (linked badges get darker on :hover). | ||
|
||
@each $color, $value in $theme-colors { | ||
.badge-#{$color} { | ||
@include badge-variant($value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.breadcrumb { | ||
display: flex; | ||
flex-wrap: wrap; | ||
padding: $breadcrumb-padding-y $breadcrumb-padding-x; | ||
margin-bottom: $breadcrumb-margin-bottom; | ||
@include font-size($breadcrumb-font-size); | ||
list-style: none; | ||
background-color: $breadcrumb-bg; | ||
@include border-radius($breadcrumb-border-radius); | ||
} | ||
|
||
.breadcrumb-item { | ||
display: flex; | ||
|
||
// The separator between breadcrumbs (by default, a forward-slash: "/") | ||
+ .breadcrumb-item { | ||
padding-left: $breadcrumb-item-padding; | ||
|
||
&::before { | ||
display: inline-block; // Suppress underlining of the separator in modern browsers | ||
padding-right: $breadcrumb-item-padding; | ||
color: $breadcrumb-divider-color; | ||
content: escape-svg($breadcrumb-divider); | ||
} | ||
} | ||
|
||
// IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built | ||
// without `<ul>`s. The `::before` pseudo-element generates an element | ||
// *within* the .breadcrumb-item and thereby inherits the `text-decoration`. | ||
// | ||
// To trick IE into suppressing the underline, we give the pseudo-element an | ||
// underline and then immediately remove it. | ||
+ .breadcrumb-item:hover::before { | ||
text-decoration: underline; | ||
} | ||
// stylelint-disable-next-line no-duplicate-selectors | ||
+ .breadcrumb-item:hover::before { | ||
text-decoration: none; | ||
} | ||
|
||
&.active { | ||
color: $breadcrumb-active-color; | ||
} | ||
} |
Oops, something went wrong.