Skip to content

Commit

Permalink
Merge pull request #14 from OP-TED/MasterMergingBranch
Browse files Browse the repository at this point in the history
Merging eForms-SDK-customisations and header and footer changes to master branch
  • Loading branch information
yfanti authored Mar 19, 2024
2 parents 5744da4 + f84d644 commit ce84591
Show file tree
Hide file tree
Showing 13 changed files with 664 additions and 32 deletions.
2 changes: 1 addition & 1 deletion gulp.d/tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module.exports = (src, dest, preview) => () => {
// NOTE use this statement to bundle a JavaScript library that cannot be browserified, like jQuery
//vfs.src(require.resolve('<package-name-or-require-path>'), opts).pipe(concat('js/vendor/<library-name>.js')),
vfs
.src(['css/site.css', 'css/search.css', 'css/vendor/*.css'], { ...opts, sourcemaps })
.src(['css/site.css', 'css/vendor/*.css'], { ...opts, sourcemaps })
.pipe(postcss((file) => ({ plugins: postcssPlugins, options: { file } }))),
vfs.src('font/*.{ttf,woff*(2)}', opts),
vfs.src('img/**/*.{gif,ico,jpg,png,svg}', opts).pipe(
Expand Down
33 changes: 33 additions & 0 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ h1.page + aside.toc.embedded {
padding: 0.4rem 1rem 0.1rem;
}

/*
.doc h3:not(.discrete) {
font-weight: var(--alt-heading-font-weight);
}
*/

.doc h1 .anchor,
.doc h2 .anchor,
Expand Down Expand Up @@ -103,6 +105,26 @@ h1.page + aside.toc.embedded {
visibility: visible;
}

.doc h2 {
font-size: 1.5rem;
}

.doc h3 {
font-size: 1.374rem;
}

.doc h4 {
font-size: 1.25rem;
}

.doc h5 {
font-size: 1.125rem;
}

.doc h6 {
font-size: 1rem;
}

.doc p,
.doc dl {
margin: 0;
Expand Down Expand Up @@ -149,6 +171,10 @@ h1.page + aside.toc.embedded {
margin: 0;
}

.doc pre code {
font-size: 0.7rem;
}

.doc blockquote {
margin: 0;
}
Expand Down Expand Up @@ -204,9 +230,11 @@ h1.page + aside.toc.embedded {
margin-top: 1.5rem;
}

/*
.doc p.tableblock + p.tableblock {
margin-top: 0.5rem;
}
*/

.doc td.tableblock > .content > :first-child {
margin-top: 0;
Expand All @@ -218,11 +246,16 @@ h1.page + aside.toc.embedded {
}

.doc table.tableblock thead th {
border-left: 1px solid var(--table-border-color);
border-right: 1px solid var(--table-border-color);
border-top: 1px solid var(--table-border-color);
border-bottom: 2.5px solid var(--table-border-color);
}

.doc table.tableblock td,
.doc table.tableblock > :not(thead) th {
border-left: 1px solid var(--table-border-color);
border-right: 1px solid var(--table-border-color);
border-top: 1px solid var(--table-border-color);
border-bottom: 1px solid var(--table-border-color);
}
Expand Down
8 changes: 8 additions & 0 deletions src/css/header.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
.globan {
z-index: 1 !important;
}

.header {
z-index: 2;
}

html.is-clipped--navbar {
overflow-y: hidden;
}
Expand Down
21 changes: 21 additions & 0 deletions src/css/nav.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
.navbar-brand .navbar-item + .navbar-item {
justify-content: flex-end;
}

/* @media screen and (min-width: 1024px) {
.navbar-brand {
flex-grow: 1;
}
.navbar-menu {
flex-grow: 0;
}
} */

@media screen and (max-width: 768px) {
.navbar-brand .navbar-item + .navbar-item {
padding-left: 0;
padding-right: 0;
}
}

.nav-container {
position: fixed;
top: var(--navbar-height);
Expand Down
Loading

0 comments on commit ce84591

Please sign in to comment.