mirror of
https://github.com/seigler/dashdev-website
synced 2025-07-26 22:36:09 +00:00
cleanup css comments + minor css adjustments
This commit is contained in:
parent
734990666a
commit
3c3967086a
5 changed files with 5033 additions and 5051 deletions
2
build.js
2
build.js
|
@ -22,7 +22,7 @@ siteMeta = {
|
||||||
contact: 'https://chat.dashdevs.org',
|
contact: 'https://chat.dashdevs.org',
|
||||||
domain: devBuild ? 'http://127.0.0.1' : 'https://dashdev-suite.github.io', // set domain
|
domain: devBuild ? 'http://127.0.0.1' : 'https://dashdev-suite.github.io', // set domain
|
||||||
// rootpath: devBuild ? null : '/dashdev-website/build/' // set absolute path (null for relative)
|
// rootpath: devBuild ? null : '/dashdev-website/build/' // set absolute path (null for relative)
|
||||||
// for gh-pages npm package usage without "build" dir:
|
// for gh-pages npm package usage without "build/" dir:
|
||||||
rootpath: devBuild ? null : '/dashdev-website/' // set absolute path (null for relative)
|
rootpath: devBuild ? null : '/dashdev-website/' // set absolute path (null for relative)
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
10036
package-lock.json
generated
10036
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -86,11 +86,11 @@ img {
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
/* font-size: 1.05em; */
|
/* font-size: 1.05em; */
|
||||||
font-weight: bold;
|
|
||||||
padding: 0.2em 0.4em;
|
padding: 0.2em 0.4em;
|
||||||
margin: 1em 0 1.5em 3em;
|
margin: 1em 0 1.5em 1.5em;
|
||||||
background-color: #111833;
|
background-color: #111833;
|
||||||
border-radius: 3px;
|
/* makes code-block border round */
|
||||||
|
border-radius: 10px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,10 +99,9 @@ code {
|
||||||
font-family: Consolas, Menlo, "DejaVu Mono", monospace;
|
font-family: Consolas, Menlo, "DejaVu Mono", monospace;
|
||||||
color: #E831C1;
|
color: #E831C1;
|
||||||
background-color: #ddd7d4;
|
background-color: #ddd7d4;
|
||||||
/* CHECK needed for bold, pre not enough!? */
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
/* makes single code border round */
|
/* makes single code border round */
|
||||||
border-radius: 5px;
|
border-radius: 4px;
|
||||||
padding: 0 0.4em;
|
padding: 0 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,10 +110,9 @@ pre code {
|
||||||
color: #eff5ef;
|
color: #eff5ef;
|
||||||
background-color: #111833;
|
background-color: #111833;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
line-height: 2.5;
|
line-height: 2.9;
|
||||||
font-size: 0.82em;
|
font-size: 0.84em;
|
||||||
/* TODO make border round */
|
font-weight: normal;
|
||||||
/* border-radius: 5px; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link,
|
a:link,
|
||||||
|
@ -174,6 +172,7 @@ p.articleinfo {
|
||||||
color: #111833;
|
color: #111833;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* layout */
|
/* layout */
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
@ -189,21 +188,13 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
/* min-height "influences" the content of navmain=header but it should exclude the <header>*/
|
|
||||||
/* CHECK min-width makes things too wide in the <section> area */
|
|
||||||
/* min-width: 100%; */
|
|
||||||
/* TODO: there must be bug in other place!
|
|
||||||
this is needed to remove scroll in header navigation, so its main navigation header!? */
|
|
||||||
/* min-height: 100%; */
|
|
||||||
/* overflow: auto; */
|
|
||||||
/* move font a little down */
|
/* move font a little down */
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
article {
|
article {
|
||||||
/* this only applys to <section> while .content is also applied */
|
|
||||||
/* for page and article template */
|
/* for page and article template */
|
||||||
/* Distance left, right 4em */
|
/* Distance left, right 1em */
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
/* Distance top 2em for content */
|
/* Distance top 2em for content */
|
||||||
padding-top: 2em;
|
padding-top: 2em;
|
||||||
|
@ -323,13 +314,14 @@ footer a:hover {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main > .content {
|
main>.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* styles.css | http://localhost:3000/css/styles.css */
|
/* styles.css | http://localhost:3000/css/styles.css */
|
||||||
|
|
||||||
@media (min-width: 50em) {
|
@media (min-width: 50em) {
|
||||||
|
@ -355,24 +347,15 @@ main > .content {
|
||||||
}
|
}
|
||||||
main {
|
main {
|
||||||
/* global template */
|
/* global template */
|
||||||
/* position: static; */
|
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
/* margin: 0px 0px 0px 0px; */
|
|
||||||
/* padding: 3em 0em 2em 0em; */
|
|
||||||
/* overflow: auto; */
|
|
||||||
/* color: #66fcf1; */
|
|
||||||
}
|
}
|
||||||
.subpages .content {
|
.subpages .content {
|
||||||
/* article template */
|
/* article template */
|
||||||
/* CHECK What does flex do?? */
|
|
||||||
/* display: flex; */
|
|
||||||
/* justify-content: center; */
|
|
||||||
margin-left: 310px;
|
margin-left: 310px;
|
||||||
}
|
}
|
||||||
.subpages article {
|
.subpages article {
|
||||||
/* article template */
|
/* article template */
|
||||||
/* flex: 1 1 70%; */
|
|
||||||
/* min-width for text content, eg "next: xxx" */
|
/* min-width for text content, eg "next: xxx" */
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -380,7 +363,6 @@ main > .content {
|
||||||
/* article template */
|
/* article template */
|
||||||
width: 310px;
|
width: 310px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
/* z-index: 1; */
|
|
||||||
top: 60px;
|
top: 60px;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- {{> footer template='page' }} -->
|
{{!-- {{> footer template='page' }} --}}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue