1+ body {
2+ font-family : Georgia, serif;
3+ max-width : 800px ;
4+ margin : auto;
5+ line-height : 1.6 ;
6+ }
7+
8+ h1 , h2 , h3 {
9+ color : # 2c3e50 ;
10+ }
11+
12+ pre {
13+ background : # f6f8fa ;
14+ padding : 16px ;
15+ border-radius : 8px ;
16+ overflow-x : auto;
17+ max-width : 800px ;
18+ margin : 1.5rem auto;
19+ }
20+
21+ code {
22+ background-color : # f6f8fa ; /* light gray background */
23+ padding : 0.2em 0.4em ; /* small padding around text */
24+ border-radius : 4px ; /* rounded corners */
25+ font-family : ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
26+ font-size : 0.8em ; /* slightly smaller than normal text */
27+ }
28+
29+ pre code {
30+ background : none;
31+ padding : 0 ;
32+ }
33+
34+ blockquote {
35+ border-left : 3px solid # 4a90e2 ; /* thin blue line on left */
36+ background-color : # e6f0fa ; /* very light blue background */
37+ padding : 0.8rem 1rem ; /* space inside the block */
38+ margin : 1rem 0 ; /* space around block */
39+ border-radius : 4px ; /* slightly rounded corners */
40+ color : # 333 ; /* text color */
41+ font-style : normal; /* optional: non-italic text */
42+ }
43+
44+ /* Definition box */
45+ div .definition {
46+ border-left : 3px solid # 4a90e2 ;
47+ background-color : # e6f0fa ;
48+ padding : 0.8rem 1rem ;
49+ margin : 1rem 0 ;
50+ border-radius : 4px ;
51+ position : relative;
52+ color : # 333 ;
53+ }
54+
55+ /* Label on top-left */
56+ div .definition ::before {
57+ content : "Definition" ;
58+ font-weight : bold;
59+ font-size : 0.85rem ;
60+ color : # fff ;
61+ background-color : # 4a90e2 ;
62+ padding : 2px 6px ;
63+ border-radius : 4px ;
64+ position : absolute;
65+ top : -0.7rem ;
66+ left : 0.5rem ;
67+ }
68+
69+ /* Label */
70+ div .warning ::before {
71+ content : "Warning" ;
72+ font-weight : bold;
73+ font-size : 0.85rem ;
74+ color : # fff ;
75+ background-color : # e74c3c ; /* same red as border */
76+ padding : 2px 6px ;
77+ border-radius : 4px ;
78+ position : absolute;
79+ top : -0.7rem ;
80+ left : 0.5rem ;
81+ }
82+
83+ /* Warning box style */
84+ div .warning {
85+ border-left : 3px solid # e74c3c ; /* red vertical line */
86+ background-color : # fdecea ; /* very light red background */
87+ padding : 0.8rem 1rem ;
88+ margin : 1rem 0 ;
89+ border-radius : 4px ;
90+ position : relative;
91+ color : # 333 ;
92+ }
93+
94+ /* Label */
95+ div .theorem ::before {
96+ content : "Theorem " attr (data-title);
97+ font-weight : bold;
98+ font-size : 0.85rem ;
99+ color : white;
100+ background : # 2c3e50 ;
101+ padding : 2px 6px ;
102+ border-radius : 4px ;
103+ position : absolute;
104+ top : -0.7rem ;
105+ left : 0.5rem ;
106+ }
107+
108+ /* Theorem block */
109+ div .theorem {
110+ border-left : 3px solid # 2c3e50 ; /* dark slate blue */
111+ background-color : # f4f6f8 ; /* very light gray-blue */
112+ padding : 0.8rem 1rem ;
113+ margin : 1rem 0 ;
114+ border-radius : 4px ;
115+ position : relative;
116+ color : # 333 ;
117+ font-style : normal;
118+ }
119+
120+
121+ div .aside {
122+ border-left : 2px solid # 333 ;
123+ padding : 0.4rem ;
124+ }
0 commit comments