summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wk8/pset/homepage/styles.css35
1 files changed, 35 insertions, 0 deletions
diff --git a/wk8/pset/homepage/styles.css b/wk8/pset/homepage/styles.css
index 318bdbc..ac36a3f 100644
--- a/wk8/pset/homepage/styles.css
+++ b/wk8/pset/homepage/styles.css
@@ -85,3 +85,38 @@ footer {
background-color:var(--titleBars);
text-align:center;
}
+
+@media only screen and (max-width: 640px) {
+ nav ul {
+ list-style-image:none;
+ list-style-type:none;
+ }
+ #flex {
+ flex-wrap:wrap;
+ }
+ main {
+ width:100%;
+ order:2;
+ }
+ aside {
+ display:block;
+ width:100%;
+ order:1;
+ margin-left:0;
+ }
+ nav ul {
+ display:flex;
+ flex-wrap:wrap;
+ }
+ nav ul li {
+ padding-right:10px;
+ }
+ nav ul > ul {
+ display:none;
+ }
+ }
+ @media only screen and (max-height: 640px) {
+ nav ul > ul {
+ display:none;
+ }
+ }