mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2025-05-08 06:06:03 +02:00
Add initial version of schema specification site
After running the util/generate_docs.py script to parse and extract the metadata term specifications and their controlled vocabularies, we use Hugo to generate the HTML site. The HTML site uses Bootstrap with several ISEAL brand colors gleaned from the corporate website.
This commit is contained in:
52
site/source/scss/bootstrap.scss
vendored
Normal file
52
site/source/scss/bootstrap.scss
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
/*!
|
||||
* Bootstrap v5.1.3 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2021 The Bootstrap Authors
|
||||
* Copyright 2011-2021 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
||||
// scss-docs-start import-stack
|
||||
// Configuration
|
||||
@import "../../node_modules/bootstrap/scss/functions";
|
||||
@import "../../node_modules/bootstrap/scss/variables";
|
||||
@import "../../node_modules/bootstrap/scss/mixins";
|
||||
@import "../../node_modules/bootstrap/scss/utilities";
|
||||
|
||||
// Layout & components
|
||||
@import "../../node_modules/bootstrap/scss/root";
|
||||
@import "../../node_modules/bootstrap/scss/reboot";
|
||||
@import "../../node_modules/bootstrap/scss/type";
|
||||
//@import "../../node_modules/bootstrap/scss/images";
|
||||
@import "../../node_modules/bootstrap/scss/containers";
|
||||
@import "../../node_modules/bootstrap/scss/grid";
|
||||
@import "../../node_modules/bootstrap/scss/tables";
|
||||
//@import "../../node_modules/bootstrap/scss/forms";
|
||||
@import "../../node_modules/bootstrap/scss/buttons";
|
||||
//@import "../../node_modules/bootstrap/scss/transitions";
|
||||
//@import "../../node_modules/bootstrap/scss/dropdown";
|
||||
//@import "../../node_modules/bootstrap/scss/button-group";
|
||||
@import "../../node_modules/bootstrap/scss/nav";
|
||||
@import "../../node_modules/bootstrap/scss/navbar";
|
||||
//@import "../../node_modules/bootstrap/scss/card";
|
||||
//@import "../../node_modules/bootstrap/scss/accordion";
|
||||
//@import "../../node_modules/bootstrap/scss/breadcrumb";
|
||||
//@import "../../node_modules/bootstrap/scss/pagination";
|
||||
@import "../../node_modules/bootstrap/scss/badge";
|
||||
//@import "../../node_modules/bootstrap/scss/alert";
|
||||
//@import "../../node_modules/bootstrap/scss/progress";
|
||||
//@import "../../node_modules/bootstrap/scss/list-group";
|
||||
//@import "../../node_modules/bootstrap/scss/close";
|
||||
//@import "../../node_modules/bootstrap/scss/toasts";
|
||||
//@import "../../node_modules/bootstrap/scss/modal";
|
||||
//@import "../../node_modules/bootstrap/scss/tooltip";
|
||||
//@import "../../node_modules/bootstrap/scss/popover";
|
||||
//@import "../../node_modules/bootstrap/scss/carousel";
|
||||
//@import "../../node_modules/bootstrap/scss/spinners";
|
||||
@import "../../node_modules/bootstrap/scss/offcanvas";
|
||||
|
||||
// Helpers
|
||||
@import "../../node_modules/bootstrap/scss/helpers";
|
||||
|
||||
// Utilities
|
||||
@import "../../node_modules/bootstrap/scss/utilities/api";
|
||||
// scss-docs-end import-stack
|
53
site/source/scss/main.scss
Normal file
53
site/source/scss/main.scss
Normal file
@ -0,0 +1,53 @@
|
||||
/*
|
||||
From Bootstrap v5.0 sticky footer example
|
||||
See: https://getbootstrap.com/docs/5.0/examples/sticky-footer/
|
||||
*/
|
||||
|
||||
// this is the second dark blue, slightly lighter than the primary
|
||||
$iseal-dark-blue: #0e304a;
|
||||
// another light blue
|
||||
$iseal-light-blue: #328cd1;
|
||||
|
||||
/*
|
||||
Some styles inspired from the Dublin Core DCTERMS website, see:
|
||||
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/
|
||||
*/
|
||||
|
||||
body {
|
||||
/* for the "scroll spy" navbar feature */
|
||||
position: relative;
|
||||
color: $primary;
|
||||
background-color: $white;
|
||||
font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
|
||||
}
|
||||
|
||||
div.badge-required {
|
||||
float: right;
|
||||
}
|
||||
|
||||
td.field-name {
|
||||
text-align: right;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.table {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
/* Override Bootstrap's top border on tbody */
|
||||
.table>:not(:first-child) {
|
||||
border-top: 2px solid $iseal-light-blue;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
.footer {
|
||||
color: $white;
|
||||
background-color: $iseal-dark-blue;
|
||||
|
||||
a, a:hover {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
14
site/source/scss/style.scss
Normal file
14
site/source/scss/style.scss
Normal file
@ -0,0 +1,14 @@
|
||||
// override some Bootstrap colors. Apparently we need to do this *before* we
|
||||
// process Bootstrap.
|
||||
|
||||
// ISEAL dark blue
|
||||
$primary: #072439;
|
||||
// ISEAL light blue
|
||||
$secondary: #2A7AB7;
|
||||
|
||||
// selectively import components we need from bootstrap
|
||||
// see: node_modules/bootstrap/scss/bootstrap.scss
|
||||
@import 'bootstrap';
|
||||
|
||||
// local style overrides
|
||||
@import 'main';
|
Reference in New Issue
Block a user