Made homepage more mobile-friendly
This commit is contained in:
@@ -159,13 +159,17 @@ footer {
|
|||||||
background-color: #393939;
|
background-color: #393939;
|
||||||
max-width: 62em;
|
max-width: 62em;
|
||||||
@include auto-center();
|
@include auto-center();
|
||||||
height: 1.8em;
|
@include vert-padding-rem(.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: $max-page-width) {
|
@media (max-width: $max-page-width) {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: $phone-width) {
|
||||||
|
font-size: 0.8em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Typography */
|
/* Typography */
|
||||||
@@ -269,6 +273,8 @@ footer {
|
|||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// me-equation {{{ //
|
||||||
|
|
||||||
.me-equation {
|
.me-equation {
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -304,11 +310,22 @@ footer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// }}} me-equation //
|
||||||
|
|
||||||
|
@media (max-width: $phone-width) {
|
||||||
|
font-size: 1.1em;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: $max-page-width) {
|
@media (max-width: $max-page-width) {
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .homepage section.categories,
|
/* .homepage section.categories,
|
||||||
@@ -342,12 +359,14 @@ h1.site-title {
|
|||||||
color: $base05;
|
color: $base05;
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 0.2em;
|
margin-bottom: 0.2em;
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: $max-page-width) {
|
@media (max-width: $max-page-width) {
|
||||||
h1.site-title {
|
|
||||||
font-size: 3em;
|
font-size: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: $phone-width) {
|
||||||
|
font-size: 2.25em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-logo img {
|
.hero-logo img {
|
||||||
@@ -357,6 +376,10 @@ h1.site-title {
|
|||||||
.nav-bar {
|
.nav-bar {
|
||||||
margin-left: .5em;
|
margin-left: .5em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
||||||
|
@media (max-width: $phone-width) {
|
||||||
|
font-size: .9em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-tagline{
|
.hero-tagline{
|
||||||
|
|||||||
37
ideas.md
37
ideas.md
@@ -1,3 +1,18 @@
|
|||||||
|
## Archived
|
||||||
|
- about/homepage
|
||||||
|
- typing animation
|
||||||
|
- linux screenshot
|
||||||
|
- fade between two
|
||||||
|
- tux icon
|
||||||
|
|
||||||
|
# Tiny
|
||||||
|
- contact page
|
||||||
|
- click on name for base URL
|
||||||
|
|
||||||
|
# Medium
|
||||||
|
- fav. apps
|
||||||
|
- credits
|
||||||
|
|
||||||
# Large
|
# Large
|
||||||
- resume
|
- resume
|
||||||
- printable version
|
- printable version
|
||||||
@@ -5,27 +20,5 @@
|
|||||||
- push to base16 repo
|
- push to base16 repo
|
||||||
- loop through URL sections
|
- loop through URL sections
|
||||||
- add CSS grid layout
|
- add CSS grid layout
|
||||||
- add media queries for mobile site
|
|
||||||
- terminal simulator for site
|
- terminal simulator for site
|
||||||
- cd/ls diff. pages
|
- cd/ls diff. pages
|
||||||
|
|
||||||
# Medium
|
|
||||||
- fav. apps
|
|
||||||
- credits
|
|
||||||
|
|
||||||
# Tiny
|
|
||||||
- about/homepage
|
|
||||||
- elevator pitch
|
|
||||||
- student
|
|
||||||
- passionate
|
|
||||||
- typing animation
|
|
||||||
- linux screenshot
|
|
||||||
- fade between two
|
|
||||||
- picture equation of my interests
|
|
||||||
- Linux
|
|
||||||
- terminal
|
|
||||||
- UofT
|
|
||||||
- contact page
|
|
||||||
- click on name for base URL
|
|
||||||
- tux icon
|
|
||||||
|
|
||||||
|
|||||||
@@ -119,11 +119,15 @@ footer {
|
|||||||
max-width: 62em;
|
max-width: 62em;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
height: 1.8em; }
|
padding-top: 0.1rem;
|
||||||
|
padding-bottom: 0.1rem; }
|
||||||
@media (max-width: 52em) {
|
@media (max-width: 52em) {
|
||||||
footer {
|
footer {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0; } }
|
margin-bottom: 0; } }
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
footer {
|
||||||
|
font-size: 0.8em; } }
|
||||||
|
|
||||||
/* Typography */
|
/* Typography */
|
||||||
h1 {
|
h1 {
|
||||||
@@ -246,6 +250,11 @@ footer a {
|
|||||||
padding-top: 0.1rem;
|
padding-top: 0.1rem;
|
||||||
padding-bottom: 0.1rem;
|
padding-bottom: 0.1rem;
|
||||||
margin-bottom: 0rem; } }
|
margin-bottom: 0rem; } }
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
#homepage #about {
|
||||||
|
font-size: 1.1em; }
|
||||||
|
#homepage #about h1 {
|
||||||
|
font-size: 1.75rem; } }
|
||||||
|
|
||||||
@media (max-width: 52em) {
|
@media (max-width: 52em) {
|
||||||
#homepage {
|
#homepage {
|
||||||
@@ -274,10 +283,12 @@ h1.site-title {
|
|||||||
color: #d3d0c8;
|
color: #d3d0c8;
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 0.2em; }
|
margin-bottom: 0.2em; }
|
||||||
|
|
||||||
@media (max-width: 52em) {
|
@media (max-width: 52em) {
|
||||||
h1.site-title {
|
h1.site-title {
|
||||||
font-size: 3em; } }
|
font-size: 3em; } }
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
h1.site-title {
|
||||||
|
font-size: 2.25em; } }
|
||||||
|
|
||||||
.hero-logo img {
|
.hero-logo img {
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
@@ -285,6 +296,9 @@ h1.site-title {
|
|||||||
.nav-bar {
|
.nav-bar {
|
||||||
margin-left: .5em;
|
margin-left: .5em;
|
||||||
margin-bottom: 1em; }
|
margin-bottom: 1em; }
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.nav-bar {
|
||||||
|
font-size: .9em; } }
|
||||||
|
|
||||||
.hero-tagline {
|
.hero-tagline {
|
||||||
margin-top: .3em;
|
margin-top: .3em;
|
||||||
|
|||||||
Reference in New Issue
Block a user