aboutsummaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-01-23 20:26:14 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-01-23 20:26:14 -0500
commit4f9f65650787516fc4e7a96a6ee38bc40e387c46 (patch)
tree9cb7f305b1324370bdbedfb2b25b1ecfd3391279 /src/styles
parentd873a13bbbd6cf6960cab5a3e627e69af4195d63 (diff)
downloadpersonal-website-4f9f65650787516fc4e7a96a6ee38bc40e387c46.tar.gz
personal-website-4f9f65650787516fc4e7a96a6ee38bc40e387c46.tar.bz2
personal-website-4f9f65650787516fc4e7a96a6ee38bc40e387c46.zip
Margins more consistent; Projects grids; Mobile optimized
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/index.css13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/styles/index.css b/src/styles/index.css
index 8df217d..33f84ac 100644
--- a/src/styles/index.css
+++ b/src/styles/index.css
@@ -16,8 +16,8 @@ p {
font-size: 1.1em;
}
-.description {
- line-height: 0.4;
+.description h2 {
+ margin: 0.1em 0;
}
.social {
@@ -33,12 +33,16 @@ p {
font-size: 1.2em;
}
+.headline h3 {
+ margin: 0.5em;
+}
+
.information {
display: grid;
grid-template-columns: 1fr 0.7fr;
grid-template-rows: auto auto;
gap: 1em;
- padding: 30px;
+ margin: 2em 10em 2em 10em;
}
.box {
@@ -58,13 +62,14 @@ p {
}
/* Mobile view */
-@media (max-width: 768px) {
+@media (max-width: 992px) {
.social {
font-size: 2.6em;
gap: 1em;
}
.information {
+ margin: 2em;
grid: auto auto auto / 1fr;
}