Consolidate box styling

This commit is contained in:
Luke
2022-07-16 16:41:23 -05:00
parent b4b2cd7fb4
commit a6046b327d
+8 -17
View File
@@ -291,14 +291,19 @@ header > nav a:last-child {
}
}
/* Consolidate box styling */
aside, details, pre, progress {
background: var(--accent-bg);
border: 1px solid var(--border);
border-radius: 5px;
margin-bottom: 1rem;
}
aside {
width: 30%;
padding: 0 15px;
margin-left: 15px;
float: right;
background: var(--accent-bg);
border: 1px solid var(--border);
border-radius: 5px;
}
article {
@@ -319,14 +324,6 @@ section {
margin: 3rem 0;
}
/* Format the expanding box */
details {
background: var(--accent-bg);
border: 1px solid var(--border);
border-radius: 5px;
margin-bottom: 1rem;
}
summary {
cursor: pointer;
font-weight: bold;
@@ -395,9 +392,6 @@ input {
border-radius: 5px;
box-shadow: none;
max-width: 100%;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
display: inline-block;
}
label {
@@ -569,9 +563,6 @@ pre {
max-width: 100%;
overflow: auto;
color: var(--preformatted);
background: var(--accent-bg);
border: 1px solid var(--border);
border-radius: 5px;
}
/* Fix embedded code within pre */