Skip to content

Commit d32bb54

Browse files
[update] css styles
1 parent 0b79f73 commit d32bb54

1 file changed

Lines changed: 82 additions & 31 deletions

File tree

src/css/custom.css

Lines changed: 82 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
5252
}
5353

5454
.markdown > h1 {
55-
font-size: 1.8rem;
55+
font-size: 3rem;
5656
}
5757

5858
/* h2 */
5959

6060
.markdown>h2 {
61-
--ifm-h2-font-size: 1.5rem;
61+
--ifm-h2-font-size: 2rem;
6262
}
6363

6464
/* h3 */
6565

6666
.markdown>h3 {
67-
--ifm-h3-font-size: 1.2rem;
67+
--ifm-h3-font-size: 1.5rem;
6868
}
6969

7070
/* end typography */
@@ -91,40 +91,31 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
9191

9292
/* end Search input styles */
9393

94-
/* Header link */
95-
.iconExternalLink_3J9K,
96-
.iconExternalLink_node_modules-\@docusaurus-theme-classic-lib-next-theme-IconExternalLink-styles-module {
97-
display: none;
98-
}
99-
100-
/* end Header link */
101-
102-
/* styles for tables */
94+
/* Link icons */
10395

104-
table {
105-
display: inline-table;
96+
.iconExternalLink_lCJq,
97+
.iconExternalLink_node_modules-\@docusaurus-theme-classic-lib-theme-IconExternalLink-styles-module,
98+
.iconExternalLink_nPIU,
99+
.iconExternalLink_node_modules-\@docusaurus-theme-classic-lib-theme-Icon-ExternalLink-styles-module {
100+
display: none; /* hides the link icon */
106101
}
107102

108-
table tr:nth-child(2n) {
109-
background-color: var(--ifm-table-background);
110-
}
111-
112-
tr {
113-
line-height: 1.2;
114-
}
115-
table {
116-
text-align: left;
117-
}
118-
119-
/* end styles for tables */
120-
103+
/* end Link icons */
121104

122105
/* imgs */
123106

124107
.markdown img {
125108
margin-bottom: var(--ifm-leading);
109+
110+
/* center alignment of images */
111+
margin-left: auto;
112+
margin-right: auto;
113+
display: block;
114+
115+
border-radius: 3px;
126116
}
127117

118+
128119
/* end imgs */
129120

130121

@@ -147,8 +138,10 @@ table {
147138
/* for Code Snippet iframe */
148139

149140
.snippet_iframe {
150-
border: 1px solid var(--ifm-hr-border-color);
151-
margin-bottom: var(--ifm-leading);
141+
border: 1px solid var(--ifm-hr-border-color);
142+
margin-bottom: var(--ifm-leading);
143+
144+
border-radius: 5px;
152145
}
153146

154147
/* end for Code Snippet iframe */
@@ -163,15 +156,73 @@ code {
163156

164157
/* end small code block */
165158

159+
/* styles for block of code */
160+
161+
.token-line.theme-code-block-highlighted-line{ /* added after updating to 2.0.0-beta.19 */
162+
background-color: rgb(156 159 166 / 30%);
163+
}
164+
165+
/* end styles for block of code */
166+
166167
/* list */
167168

168169
.markdown ul {
169170
margin-top: 10px;
170-
line-height: 38px;
171+
line-height: 38px;
171172
}
172173

173174
::marker {
174175
color: #9c9c9c;
175176
}
176177

177-
/* end list */
178+
/* end list */
179+
180+
/* buttons */
181+
182+
.support_btn{
183+
font-size: 16pt;
184+
color: rgb(53, 148, 243);
185+
background-color: transparent;
186+
border: 1px solid rgba(53, 148, 243, 0.692);;
187+
border-radius: 5px;
188+
width: 280px;
189+
height: 50px;
190+
margin-bottom: 30px;
191+
}
192+
193+
.support_btn:hover{
194+
background-color: rgba(53, 148, 243, 0.692);
195+
color: white;
196+
}
197+
198+
.support_btn > a {
199+
text-decoration: none;
200+
color: inherit;
201+
}
202+
203+
/* buttons end */
204+
205+
206+
/* styles for tables */
207+
208+
table {
209+
width: 100%;
210+
display: inline-table;
211+
}
212+
table th:first-child {
213+
width: 25%;
214+
}
215+
216+
/* end styles for tables */
217+
218+
/* styles for infoblock */
219+
220+
.admonition-content > p {
221+
line-height: 2.2;
222+
}
223+
224+
.admonition {
225+
margin-top: 15px;
226+
}
227+
228+
/* end styles for infoblock */

0 commit comments

Comments
 (0)