style: clean up default-base.css by removing commented-out media queries

- Removed unnecessary media query styles to streamline the CSS.
- Added margin reset for <p> elements containing links, scripts, and styles to improve spacing consistency.
This commit is contained in:
Zack Spear
2025-05-08 18:22:05 -07:00
parent a82a684100
commit a0fbd37fa1

View File

@@ -17,26 +17,6 @@ body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* @media (max-width: 1280px) {
#template {
min-width: 1260px;
max-width: 1260px;
margin: 0;
}
}
@media (min-width: 1281px) {
#template {
min-width: 1260px;
margin: 0 10px;
}
}
@media (min-width: 1921px) {
#template {
min-width: 1260px;
max-width: 1920px;
margin: 0 auto;
}
} */
img {
border: none;
text-decoration: none;
@@ -45,6 +25,15 @@ img {
p {
text-align: justify;
}
/**
* The markdown parser will often add <p> around links, scripts, and styles.
* Without this, spacing is off with essentially empty paragraphs.
*/
p:has(> link),
p:has(> script),
p:has(> style) {
margin: 0;
}
p.centered {
text-align: left;
}