Skip to content

Commit

Permalink
new theme
Browse files Browse the repository at this point in the history
  • Loading branch information
barais committed Dec 17, 2023
1 parent 16ce704 commit ce3d3a9
Show file tree
Hide file tree
Showing 28 changed files with 10,096 additions and 148 deletions.
1,794 changes: 1,794 additions & 0 deletions docs/assets/css/asciidoctor.css

Large diffs are not rendered by default.

6,757 changes: 6,757 additions & 0 deletions docs/assets/css/bootstrap.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/css/bootstrap.css.map

Large diffs are not rendered by default.

File renamed without changes
167 changes: 107 additions & 60 deletions docs/correctexam.css → docs/assets/css/correctexam.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,18 @@


@media screen {
header {
display: none;
}
footer {
display: none;
}

#roundtopleft {
display: none;
}
#roundtopright {
display: none;
}

#roundbottomleft {
display: none;
}
#roundbottomright {
display: none;

}
}

@media print {
#upload {
display: none;
}

#roundtopleft {
position: fixed;
left: 12mm;
top: 15mm;

#view {
display: none;
}

#roundtopright {
position: fixed;
left: 192mm;
top: 15mm;
}

#zoneNom {
position: fixed;
Expand All @@ -51,39 +24,38 @@
.code {
font-size: 8pt;
}
#roundbottomleft {
position: fixed;
left: 8mm;
bottom: 8mm;
}
#roundbottomright {
position: fixed;
left: 192mm;
bottom: 8mm;
}

header {
position: fixed;
top: 0;
}
footer {
position: fixed;
bottom: 0;
}

.content-block,
p,
.markdown-body {
page-break-inside: avoid;
}
.markdown-body {

p{
page-break-inside: avoid;
}


ul {
page-break-inside: avoid;
}

.sectionbody div {
page-break-before: avoid;
page-break-after: avoid;
}

.sect1 div {
page-break-before: avoid;
page-break-after: avoid;
}
.paragraph div{
page-break-before: avoid;
page-break-after: avoid;

}


html,
body {
Expand All @@ -95,6 +67,10 @@
break-after: page;
}

hr {
break-after: page;
}

.markdown-body h1{
font-size: 1.3em;
page-break-after:avoid;
Expand All @@ -116,6 +92,16 @@
break-after: avoid;
}

.container-fluid{
margin: 0;
padding: 0;
}

.markdown-body:not(.next-editor) pre {
padding: 6px;
}



.markdown-body:not(.next-editor) pre {
padding: 6px;
Expand All @@ -124,7 +110,9 @@
@page {
@bottom-center {
content: "page " counter(page) "/" counter(pages);
}/*
}

/*
@top-left{
content: url(square.svg);
}
Expand Down Expand Up @@ -159,20 +147,78 @@

/* target left (even-numbered) pages only */
@page :left {
/* margin-right: 4cm;*/
@top-left-corner {
content: url(circlecorner.svg);
padding-right: 25pt;
padding-bottom: 1cm;
margin-bottom: 1cm;
padding-top: 1cm;
margin-top: 1cm;
}
@top-right-corner {
content: url(circlecorner.svg);
padding-left: 25pt;
padding-bottom: 1cm;
margin-bottom: 1cm;
padding-top: 1cm;
margin-top: 1cm;

}
@bottom-left-corner {
content: url(circlecorner.svg);
padding-right: 25pt;
/* padding-top: 1cm;
margin-top: 1cm;*/
}
@bottom-right-corner {
content: url(circlecorner.svg);
padding-left: 25pt;
/* padding-top: 1cm;
margin-top: 1cm;*/
}

}

/* target right (odd-numbered) pages only */
@page :right {
@top-left-corner {
content: url(circlecorner.svg);
padding-right: 25pt;
padding-bottom: 1cm;
margin-bottom: 1cm;
}
@top-right-corner {
content: url(circlecorner.svg);
padding-left: 25pt;
padding-bottom: 1cm;
margin-bottom: 1cm;
}
@bottom-left-corner {
content: url(circlecorner.svg);
padding-right: 25pt;
/* padding-top: 1cm;
margin-top: 1cm;*/
}
@bottom-right-corner {
content: url(circlecorner.svg);
padding-left: 25pt;
/* padding-top: 1cm;
margin-top: 1cm;*/
}

@top-center {
content: url(header.svg);
padding-top: 24px;

padding-top: 24px;
}

margin-top: 6cm;
}

@page: blank {
@top-left {
content: none;
}
} ;

pre {
width: 160mm;
}
Expand All @@ -183,7 +229,7 @@
}

body {
background: white;
/* background: white;*/
font-size: 10pt;
}
p,li{
Expand All @@ -195,18 +241,18 @@
#menu {
display: none;
}
#wrapper,
/* #wrapper,
#content {
width: auto;
margin: 0 5%;
padding: 0;
border: 0;
float: none !important;
background: transparent none;
}
}*/


div#doc {
/* div#content {
padding-top: 0;
padding-bottom: 0;
margin-bottom: 0;
Expand All @@ -218,9 +264,9 @@
margin-bottom: 6em;
margin-top: 6em;
padding-top: 2em;
padding-bottom: 2em;*/
padding-bottom: 2em;
}
}*/



Expand All @@ -242,4 +288,5 @@
}



}
112 changes: 112 additions & 0 deletions docs/assets/css/grayscale.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/*
grayscale style (c) MY Sun <[email protected]>
*/

pre code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
border-radius: 0
}



.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #333;
background: #fff;
}

.hljs-comment,
.hljs-quote {
color: #777;
font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
color: #333;
font-weight: bold;
}

.hljs-number,
.hljs-literal {
color: #777;
}

.hljs-string,
.hljs-doctag,
.hljs-formula {
color: #333;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat;
}

.hljs-title,
.hljs-section,
.hljs-selector-id {
color: #000;
font-weight: bold;
}

.hljs-subst {
font-weight: normal;
}

.hljs-class .hljs-title,
.hljs-type,
.hljs-name {
color: #333;
font-weight: bold;
}

.hljs-tag {
color: #333;
}

.hljs-regexp {
color: #333;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link {
color: #000;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat;
}

.hljs-built_in,
.hljs-builtin-name {
color: #000;
text-decoration: underline;
}


.hljs-meta {
color: #999;
font-weight: bold;
}

.hljs-deletion {
color: #fff;
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat;
}

.hljs-addition {
color: #000;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}
File renamed without changes
Loading

0 comments on commit ce3d3a9

Please sign in to comment.