|
@@ -1,190 +1,230 @@
|
|
/* HTML and Body */
|
|
/* HTML and Body */
|
|
|
|
+@font-face {
|
|
|
|
+ font-family: 'NotoSans';
|
|
|
|
+ src: url('fonts/NotoSans-Variable.ttf');
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@font-face {
|
|
|
|
+ font-family: 'NotoSansJP';
|
|
|
|
+ src: url('fonts/NotoSansJP-Variable.ttf');
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@font-face {
|
|
|
|
+ font-family: 'NotoSansKR';
|
|
|
|
+ src: url('fonts/NotoSansKR-Variable.ttf');
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@font-face {
|
|
|
|
+ font-family: 'NotoSansSC';
|
|
|
|
+ src: url('fonts/NotoSansSC-Variable.ttf');
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@font-face {
|
|
|
|
+ font-family: 'NotoSansSC-Regular';
|
|
|
|
+ src: url('fonts/NotoSansSC-Regular.ttf');
|
|
|
|
+}
|
|
|
|
+
|
|
html {
|
|
html {
|
|
- box-sizing: border-box;
|
|
|
|
- font-size: 14px; /* Default font size */
|
|
|
|
- line-height: 1.5;
|
|
|
|
|
|
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'NotoSans', 'NotoSansJP', 'NotoSansKR',
|
|
|
|
+ 'NotoSansSC', 'STSong-Light', 'MSung-Light', 'HeiseiMin-W3', 'HYSMyeongJo-Medium', Roboto,
|
|
|
|
+ 'Helvetica Neue', Arial, sans-serif;
|
|
|
|
+ font-size: 14px; /* Default font size */
|
|
|
|
+ line-height: 1.5;
|
|
}
|
|
}
|
|
|
|
|
|
-*, *::before, *::after {
|
|
|
|
- box-sizing: inherit;
|
|
|
|
|
|
+*,
|
|
|
|
+*::before,
|
|
|
|
+*::after {
|
|
|
|
+ box-sizing: inherit;
|
|
}
|
|
}
|
|
|
|
|
|
body {
|
|
body {
|
|
- margin: 0;
|
|
|
|
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
|
|
- color: #212529;
|
|
|
|
- background-color: #fff;
|
|
|
|
- width: auto;
|
|
|
|
|
|
+ margin: 0;
|
|
|
|
+ color: #212529;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ width: auto;
|
|
}
|
|
}
|
|
|
|
|
|
/* Typography */
|
|
/* Typography */
|
|
-h1, h2, h3, h4, h5, h6 {
|
|
|
|
- font-weight: 500;
|
|
|
|
- margin: 0;
|
|
|
|
|
|
+h1,
|
|
|
|
+h2,
|
|
|
|
+h3,
|
|
|
|
+h4,
|
|
|
|
+h5,
|
|
|
|
+h6 {
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ margin: 0;
|
|
}
|
|
}
|
|
|
|
|
|
h1 {
|
|
h1 {
|
|
- font-size: 2.5rem;
|
|
|
|
|
|
+ font-size: 2.5rem;
|
|
}
|
|
}
|
|
|
|
|
|
h2 {
|
|
h2 {
|
|
- font-size: 2rem;
|
|
|
|
|
|
+ font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
|
|
h3 {
|
|
h3 {
|
|
- font-size: 1.75rem;
|
|
|
|
|
|
+ font-size: 1.75rem;
|
|
}
|
|
}
|
|
|
|
|
|
h4 {
|
|
h4 {
|
|
- font-size: 1.5rem;
|
|
|
|
|
|
+ font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
|
|
h5 {
|
|
h5 {
|
|
- font-size: 1.25rem;
|
|
|
|
|
|
+ font-size: 1.25rem;
|
|
}
|
|
}
|
|
|
|
|
|
h6 {
|
|
h6 {
|
|
- font-size: 1rem;
|
|
|
|
|
|
+ font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
|
|
p {
|
|
p {
|
|
- margin-top: 0;
|
|
|
|
- margin-bottom: 1rem;
|
|
|
|
|
|
+ margin-top: 0;
|
|
|
|
+ margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
|
|
/* Grid System */
|
|
/* Grid System */
|
|
.container {
|
|
.container {
|
|
- width: 100%;
|
|
|
|
- padding-right: 15px;
|
|
|
|
- padding-left: 15px;
|
|
|
|
- margin-right: auto;
|
|
|
|
- margin-left: auto;
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ padding-right: 15px;
|
|
|
|
+ padding-left: 15px;
|
|
|
|
+ margin-right: auto;
|
|
|
|
+ margin-left: auto;
|
|
}
|
|
}
|
|
|
|
|
|
/* Utilities */
|
|
/* Utilities */
|
|
.text-center {
|
|
.text-center {
|
|
- text-align: center;
|
|
|
|
|
|
+ text-align: center;
|
|
}
|
|
}
|
|
|
|
|
|
/* Additional Text Utilities */
|
|
/* Additional Text Utilities */
|
|
.text-muted {
|
|
.text-muted {
|
|
- color: #6c757d; /* Muted text color */
|
|
|
|
|
|
+ color: #6c757d; /* Muted text color */
|
|
}
|
|
}
|
|
|
|
|
|
/* Small Text */
|
|
/* Small Text */
|
|
small {
|
|
small {
|
|
- font-size: 80%; /* Smaller font size relative to the base */
|
|
|
|
- color: #6c757d; /* Lighter text color for secondary information */
|
|
|
|
- margin-bottom: 0;
|
|
|
|
- margin-top: 0;
|
|
|
|
|
|
+ font-size: 80%; /* Smaller font size relative to the base */
|
|
|
|
+ color: #6c757d; /* Lighter text color for secondary information */
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
+ margin-top: 0;
|
|
}
|
|
}
|
|
|
|
|
|
/* Strong Element Styles */
|
|
/* Strong Element Styles */
|
|
strong {
|
|
strong {
|
|
- font-weight: bolder; /* Ensures the text is bold */
|
|
|
|
- color: inherit; /* Inherits the color from its parent element */
|
|
|
|
|
|
+ font-weight: bolder; /* Ensures the text is bold */
|
|
|
|
+ color: inherit; /* Inherits the color from its parent element */
|
|
}
|
|
}
|
|
|
|
|
|
/* link */
|
|
/* link */
|
|
a {
|
|
a {
|
|
- color: #007bff;
|
|
|
|
- text-decoration: none;
|
|
|
|
- background-color: transparent;
|
|
|
|
|
|
+ color: #007bff;
|
|
|
|
+ text-decoration: none;
|
|
|
|
+ background-color: transparent;
|
|
}
|
|
}
|
|
|
|
|
|
a:hover {
|
|
a:hover {
|
|
- color: #0056b3;
|
|
|
|
- text-decoration: underline;
|
|
|
|
|
|
+ color: #0056b3;
|
|
|
|
+ text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
|
|
/* General styles for lists */
|
|
/* General styles for lists */
|
|
-ol, ul, li {
|
|
|
|
- padding-left: 40px; /* Increase padding to move bullet points to the right */
|
|
|
|
- margin-left: 20px; /* Indent lists from the left */
|
|
|
|
|
|
+ol,
|
|
|
|
+ul,
|
|
|
|
+li {
|
|
|
|
+ padding-left: 40px; /* Increase padding to move bullet points to the right */
|
|
|
|
+ margin-left: 20px; /* Indent lists from the left */
|
|
}
|
|
}
|
|
|
|
|
|
/* Ordered list styles */
|
|
/* Ordered list styles */
|
|
ol {
|
|
ol {
|
|
- list-style-type: decimal; /* Use numbers for ordered lists */
|
|
|
|
- margin-bottom: 10px; /* Space after each list */
|
|
|
|
|
|
+ list-style-type: decimal; /* Use numbers for ordered lists */
|
|
|
|
+ margin-bottom: 10px; /* Space after each list */
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
ol li {
|
|
ol li {
|
|
- margin-bottom: 0.5rem; /* Space between ordered list items */
|
|
|
|
|
|
+ margin-bottom: 0.5rem; /* Space between ordered list items */
|
|
}
|
|
}
|
|
|
|
|
|
/* Unordered list styles */
|
|
/* Unordered list styles */
|
|
ul {
|
|
ul {
|
|
- list-style-type: disc; /* Use bullets for unordered lists */
|
|
|
|
- margin-bottom: 10px; /* Space after each list */
|
|
|
|
|
|
+ list-style-type: disc; /* Use bullets for unordered lists */
|
|
|
|
+ margin-bottom: 10px; /* Space after each list */
|
|
}
|
|
}
|
|
|
|
|
|
ul li {
|
|
ul li {
|
|
- margin-bottom: 0.5rem; /* Space between unordered list items */
|
|
|
|
|
|
+ margin-bottom: 0.5rem; /* Space between unordered list items */
|
|
}
|
|
}
|
|
|
|
|
|
/* List item styles */
|
|
/* List item styles */
|
|
li {
|
|
li {
|
|
- margin-bottom: 5px; /* Space between list items */
|
|
|
|
- line-height: 1.5; /* Line height for better readability */
|
|
|
|
|
|
+ margin-bottom: 5px; /* Space between list items */
|
|
|
|
+ line-height: 1.5; /* Line height for better readability */
|
|
}
|
|
}
|
|
|
|
|
|
/* Nested lists */
|
|
/* Nested lists */
|
|
-ol ol, ol ul, ul ol, ul ul {
|
|
|
|
- padding-left: 20px;
|
|
|
|
- margin-left: 30px; /* Further indent nested lists */
|
|
|
|
- margin-bottom: 0; /* Remove extra margin at the bottom of nested lists */
|
|
|
|
|
|
+ol ol,
|
|
|
|
+ol ul,
|
|
|
|
+ul ol,
|
|
|
|
+ul ul {
|
|
|
|
+ padding-left: 20px;
|
|
|
|
+ margin-left: 30px; /* Further indent nested lists */
|
|
|
|
+ margin-bottom: 0; /* Remove extra margin at the bottom of nested lists */
|
|
}
|
|
}
|
|
|
|
|
|
/* Code blocks */
|
|
/* Code blocks */
|
|
pre {
|
|
pre {
|
|
- background-color: #f4f4f4;
|
|
|
|
- padding: 10px;
|
|
|
|
- overflow-x: auto;
|
|
|
|
- max-width: 100%; /* Ensure it doesn't overflow the page */
|
|
|
|
- width: 80%; /* Set a specific width for a container-like appearance */
|
|
|
|
- margin: 0 1em; /* Center the pre block */
|
|
|
|
- box-sizing: border-box; /* Include padding in the width */
|
|
|
|
- border: 1px solid #ccc; /* Optional: Add a border for better definition */
|
|
|
|
- border-radius: 4px; /* Optional: Add rounded corners */
|
|
|
|
|
|
+ background-color: #f4f4f4;
|
|
|
|
+ padding: 10px;
|
|
|
|
+ overflow-x: auto;
|
|
|
|
+ max-width: 100%; /* Ensure it doesn't overflow the page */
|
|
|
|
+ width: 80%; /* Set a specific width for a container-like appearance */
|
|
|
|
+ margin: 0 1em; /* Center the pre block */
|
|
|
|
+ box-sizing: border-box; /* Include padding in the width */
|
|
|
|
+ border: 1px solid #ccc; /* Optional: Add a border for better definition */
|
|
|
|
+ border-radius: 4px; /* Optional: Add rounded corners */
|
|
}
|
|
}
|
|
|
|
|
|
code {
|
|
code {
|
|
- font-family: 'Courier New', Courier, monospace;
|
|
|
|
- background-color: #f4f4f4;
|
|
|
|
- padding: 2px 4px;
|
|
|
|
- border-radius: 4px;
|
|
|
|
- box-sizing: border-box; /* Include padding in the width */
|
|
|
|
|
|
+ font-family: 'Courier New', Courier, monospace;
|
|
|
|
+ background-color: #f4f4f4;
|
|
|
|
+ padding: 2px 4px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ box-sizing: border-box; /* Include padding in the width */
|
|
}
|
|
}
|
|
|
|
|
|
.message {
|
|
.message {
|
|
- margin-top: 8px;
|
|
|
|
- margin-bottom: 8px;
|
|
|
|
|
|
+ margin-top: 8px;
|
|
|
|
+ margin-bottom: 8px;
|
|
|
|
+ max-width: 100%;
|
|
|
|
+ overflow-wrap: break-word;
|
|
}
|
|
}
|
|
|
|
|
|
/* Table Styles */
|
|
/* Table Styles */
|
|
table {
|
|
table {
|
|
- width: 100%;
|
|
|
|
- margin-bottom: 1rem;
|
|
|
|
- color: #212529;
|
|
|
|
- border-collapse: collapse; /* Removes the space between borders */
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ margin-bottom: 1rem;
|
|
|
|
+ color: #212529;
|
|
|
|
+ border-collapse: collapse; /* Removes the space between borders */
|
|
}
|
|
}
|
|
|
|
|
|
-th, td {
|
|
|
|
- margin: 0;
|
|
|
|
- padding: 0.75rem;
|
|
|
|
- vertical-align: top;
|
|
|
|
- border-top: 1px solid #dee2e6;
|
|
|
|
|
|
+th,
|
|
|
|
+td {
|
|
|
|
+ margin: 0;
|
|
|
|
+ padding: 0.75rem;
|
|
|
|
+ vertical-align: top;
|
|
|
|
+ border-top: 1px solid #dee2e6;
|
|
}
|
|
}
|
|
|
|
|
|
thead th {
|
|
thead th {
|
|
- vertical-align: bottom;
|
|
|
|
- border-bottom: 2px solid #dee2e6;
|
|
|
|
|
|
+ vertical-align: bottom;
|
|
|
|
+ border-bottom: 2px solid #dee2e6;
|
|
}
|
|
}
|
|
|
|
|
|
tbody + tbody {
|
|
tbody + tbody {
|
|
- border-top: 2px solid #dee2e6;
|
|
|
|
|
|
+ border-top: 2px solid #dee2e6;
|
|
}
|
|
}
|
|
|
|
|
|
/* markdown-section styles */
|
|
/* markdown-section styles */
|
|
@@ -199,8 +239,8 @@ tbody + tbody {
|
|
.markdown-section pre,
|
|
.markdown-section pre,
|
|
.markdown-section table,
|
|
.markdown-section table,
|
|
.markdown-section ul {
|
|
.markdown-section ul {
|
|
- /* Give most block elements margin top and bottom */
|
|
|
|
- margin-top: 1rem;
|
|
|
|
|
|
+ /* Give most block elements margin top and bottom */
|
|
|
|
+ margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
|
|
/* Remove top margin if it's the first child */
|
|
/* Remove top margin if it's the first child */
|
|
@@ -215,69 +255,65 @@ tbody + tbody {
|
|
.markdown-section pre:first-child,
|
|
.markdown-section pre:first-child,
|
|
.markdown-section table:first-child,
|
|
.markdown-section table:first-child,
|
|
.markdown-section ul:first-child {
|
|
.markdown-section ul:first-child {
|
|
- margin-top: 0;
|
|
|
|
|
|
+ margin-top: 0;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
/* Remove top margin of <ul> following a <p> */
|
|
/* Remove top margin of <ul> following a <p> */
|
|
.markdown-section p + ul {
|
|
.markdown-section p + ul {
|
|
- margin-top: 0;
|
|
|
|
|
|
+ margin-top: 0;
|
|
}
|
|
}
|
|
|
|
|
|
/* Remove bottom margin of <p> if it is followed by a <ul> */
|
|
/* Remove bottom margin of <p> if it is followed by a <ul> */
|
|
/* Note: :has is not supported in CSS, so you would need JavaScript for this behavior */
|
|
/* Note: :has is not supported in CSS, so you would need JavaScript for this behavior */
|
|
.markdown-section p {
|
|
.markdown-section p {
|
|
- margin-bottom: 0;
|
|
|
|
|
|
+ margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
|
|
/* Add a rule to reset margin-bottom for <p> not followed by <ul> */
|
|
/* Add a rule to reset margin-bottom for <p> not followed by <ul> */
|
|
.markdown-section p + ul {
|
|
.markdown-section p + ul {
|
|
- margin-top: 0;
|
|
|
|
|
|
+ margin-top: 0;
|
|
}
|
|
}
|
|
|
|
|
|
/* List item styles */
|
|
/* List item styles */
|
|
.markdown-section li {
|
|
.markdown-section li {
|
|
- padding: 2px;
|
|
|
|
|
|
+ padding: 2px;
|
|
}
|
|
}
|
|
|
|
|
|
.markdown-section li p {
|
|
.markdown-section li p {
|
|
- margin-bottom: 0;
|
|
|
|
- padding: 0;
|
|
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
+ padding: 0;
|
|
}
|
|
}
|
|
|
|
|
|
/* Avoid margins for nested lists */
|
|
/* Avoid margins for nested lists */
|
|
.markdown-section li > ul {
|
|
.markdown-section li > ul {
|
|
- margin-top: 0;
|
|
|
|
- margin-bottom: 0;
|
|
|
|
|
|
+ margin-top: 0;
|
|
|
|
+ margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
|
|
/* Table styles */
|
|
/* Table styles */
|
|
.markdown-section table {
|
|
.markdown-section table {
|
|
- width: 100%;
|
|
|
|
- border-collapse: collapse;
|
|
|
|
- margin: 1rem 0;
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ border-collapse: collapse;
|
|
|
|
+ margin: 1rem 0;
|
|
}
|
|
}
|
|
|
|
|
|
.markdown-section th,
|
|
.markdown-section th,
|
|
.markdown-section td {
|
|
.markdown-section td {
|
|
- border: 1px solid #ddd;
|
|
|
|
- padding: 0.5rem;
|
|
|
|
- text-align: left;
|
|
|
|
|
|
+ border: 1px solid #ddd;
|
|
|
|
+ padding: 0.5rem;
|
|
|
|
+ text-align: left;
|
|
}
|
|
}
|
|
|
|
|
|
.markdown-section th {
|
|
.markdown-section th {
|
|
- background-color: #f2f2f2;
|
|
|
|
|
|
+ background-color: #f2f2f2;
|
|
}
|
|
}
|
|
|
|
|
|
.markdown-section pre {
|
|
.markdown-section pre {
|
|
- padding: 10px;
|
|
|
|
- margin: 10px;
|
|
|
|
|
|
+ padding: 10px;
|
|
|
|
+ margin: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
.markdown-section pre code {
|
|
.markdown-section pre code {
|
|
- position: relative;
|
|
|
|
- color: rgb(172, 0, 95);
|
|
|
|
|
|
+ position: relative;
|
|
|
|
+ color: rgb(172, 0, 95);
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|