NBash
100 строк · 1.7 Кб
1html {2--doc-background-color: #C0C0C0;3--title-gradient-stop1: #D4D4D4;4--title-gradient-stop2: #E8E5E5;5--title-gradient-stop3: #EDECEC;6--title-gradient-stop4: #989696;7--title-border-color: #808080;8--title-area-color: #EBEBEB;9--title-shadow-color: #F0F0F0;10--title-text-color: #404040;11}
12
13html.dark-mode {14--doc-background-color: #202020;15--title-gradient-stop1: #3A3A3A;16--title-gradient-stop2: #303030;17--title-gradient-stop3: #222222;18--title-gradient-stop4: #1C1C1C;19--title-border-color: #505050;20--title-area-color: #303030;21--title-shadow-color: #101010;22--title-text-color: #C0C0C0;23}
24
25#projectalign
26{
27vertical-align: bottom;28padding-left: 5px;29}
30
31#projectname
32{
33font-size: 100%;34}
35
36#projectlogo
37{
38padding-left: 8px;39}
40
41h1
42{
43line-height: 1.2;44}
45
46#doc-content
47{
48background-color: var(--doc-background-color);49}
50
51div.contents
52{
53background-color: var(--page-background-color);54}
55
56div.contents
57{
58border: 1px solid var(--toc-border-color);59border-radius: 7px 7px 7px 7px;60}
61
62div.header
63{
64background: var(--title-gradient-stop1);65background: linear-gradient(120deg, var(--title-gradient-stop1) 0%, var(--title-gradient-stop2) 30%, var(--title-gradient-stop3) 70%, var(--title-gradient-stop4) 100%);66border-bottom: 1px solid var(--title-border-color);67}
68
69#titlearea
70{
71background: var(--title-area-color);72}
73
74div.toc
75{
76margin-right: 0px;77}
78
79div.contents, div.headertitle
80{
81padding: 8px;82}
83
84div.headertitle
85{
86font-size: 150%;87text-shadow: 0px 2px 2px var(--title-shadow-color);88color: var(--title-text-color);89}
90
91@media(min-width: 1120px) {92
93div.contents, div.headertitle
94{
95width: 800px;96margin-left: auto;97margin-right: auto;98}
99
100} /* end @media */101