Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added required styles. #2955

Merged
merged 1 commit into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
48 changes: 33 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,24 @@
onload="this.onload=null;this.rel='stylesheet';"
/>

<style>
.markdown-section {
max-width: 720px;
}
<style>
body {
margin: 0; /* Remove default body margin */
padding: 0; /* Remove default body padding */
font-family: Arial, sans-serif; /* Set a default font family */
}
.markdown-section {
max-width: 100%; /* Allow the content to stretch to the full width */
margin: 0 auto; /* Center the content on the page */
box-sizing: border-box; /* Include padding and border in the element's total width and height */
padding: 20px; /* Add padding for better readability, adjust as needed */
}

p > img {
height: 200px;
}
p > img {
max-width: 100%; /* Ensure images are responsive within the content */
height: auto;
}

.markdown-section h2 {
padding: 40px 0px 10px 0px;
border-bottom: 1px solid #dbdbdb;
Expand Down Expand Up @@ -132,16 +142,21 @@
cursor: pointer;
z-index: 100;
}
</style>
@media only screen and (max-width: 768px) {
.markdown-section {
padding: 10px; /* Adjust padding for smaller screens */
}
}
</style>
<!-- Theme: dark -->
<style>
.dark,
.dark .sidebar,
.dark blockquote,
.dark .sidebar a {
background-color: #283339;
color: #d3d3d3;
}
.dark,
.dark .sidebar,
.dark blockquote,
.dark .sidebar a {
background-color: #283339;
color: #d3d3d3;
}

.dark .sidebar::-webkit-scrollbar-thumb {
background: hsla(0, 0%, 88%, 0.4);
Expand Down Expand Up @@ -202,6 +217,9 @@
background-image: url("./static/sun.svg");
}
</style>



</head>

<body>
Expand Down