diff --git a/src/components/App.js b/src/components/App.js index 0cf7257..29d8aee 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,5 +1,6 @@ import React from 'react'; import { BrowserRouter, Route, Switch } from 'react-router-dom'; +import "./css/App.css"; import Navigation from './Navigation'; import Home from './Home'; import Github from './Github'; diff --git a/src/components/Social.js b/src/components/Social.js index 85e871e..5d63ba3 100644 --- a/src/components/Social.js +++ b/src/components/Social.js @@ -1,7 +1,5 @@ import React from 'react'; -import { Link } from 'react-router-dom'; import './css/Social.css'; -import Card from './subcomponents/Card'; import Theater from './subcomponents/Theater'; @@ -20,11 +18,11 @@ class Social extends React.Component { />
- + Github - + linked in
diff --git a/src/components/css/About.css b/src/components/css/About.css index 00deed7..c2da696 100644 --- a/src/components/css/About.css +++ b/src/components/css/About.css @@ -1,6 +1,8 @@ .About { background-color: #3F3F4A; - color: #AA9AA0 + color: #AA9AA0; + padding-bottom: 5.5rem; + } .About .title { diff --git a/src/components/css/App.css b/src/components/css/App.css new file mode 100644 index 0000000..ce5dbc3 --- /dev/null +++ b/src/components/css/App.css @@ -0,0 +1,10 @@ +.App { + display:flex; + flex-direction: column; +} + +@media only screen and (max-width: 600px) { + .App { + flex-direction: column-reverse; + } +} \ No newline at end of file diff --git a/src/components/css/Card.css b/src/components/css/Card.css index aca2d87..6c62292 100644 --- a/src/components/css/Card.css +++ b/src/components/css/Card.css @@ -1,8 +1,8 @@ .card { display: flex; flex-direction: row; - padding: 50px; - width: 75vw; + padding: 10px; + width: 85vw; margin-left: auto; margin-right: auto; } diff --git a/src/components/css/Github.css b/src/components/css/Github.css index c92efca..083a8c1 100644 --- a/src/components/css/Github.css +++ b/src/components/css/Github.css @@ -59,10 +59,13 @@ display: flex; flex-direction: row; padding: 10px; + width: 100%; + flex-wrap: wrap; } .repo .language { padding: 5px; + margin: 2px; margin-left: 5px; border-radius: 10px; background-color: #AAAAAA; diff --git a/src/components/css/Navigation.css b/src/components/css/Navigation.css index 000eff2..091653c 100644 --- a/src/components/css/Navigation.css +++ b/src/components/css/Navigation.css @@ -1,11 +1,11 @@ .Navigation { - - height: 63px; + z-index:9; + position: relative; + height: 4rem; + width: 100vw; display: flex; flex-direction: row; background-color: #3F3F4A; - border-color: gray; - border-bottom-style: solid; margin:0; padding:0; } @@ -25,7 +25,9 @@ text-align:center; font-size: 16px; padding: 5px; - height: 60px; + padding-right: 10px; + padding-left: 10px; + height: 4rem; border: none; color: #CFC0C0 !important; @@ -33,7 +35,7 @@ .Navigation a:hover, .Navigation button:hover { background-color: #2F2F32; - height: 90px; + height: 5rem; transition: background-color 300ms ease-out, height 300ms ease-out; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; @@ -49,4 +51,25 @@ margin-bottom: 4px; height: 24px; width: 24px; +} + +@media only screen and (max-width: 600px) { + .Navigation { + position: fixed; + bottom:0; + left:0; + height: 5.5rem; + } + + .Navigation a, .Navigation button { + height: 5.5rem; + } + + .Navigation a:hover, .Navigation button:hover { + background-color: #2F2F32; + height:5.5rem; + transition: background-color 300ms ease-out; + border-top-left-radius: 5px; + border-top-right-radius: 5px; + } } \ No newline at end of file diff --git a/src/components/css/Social.css b/src/components/css/Social.css index 5165247..a2696b7 100644 --- a/src/components/css/Social.css +++ b/src/components/css/Social.css @@ -2,6 +2,9 @@ background-color: #3D3C3F; min-height: 100vh; color: #AA9AA0; + width:100vw; + display:flex; + flex-direction:column; } .Social .links { @@ -9,16 +12,16 @@ flex-direction:row; align-content:center; justify-content:center; - align-items:start; + align-items: flex-start; width:75vw; margin-left: auto; margin-right: auto; } .Social .links img { - height: 10vh; + width: 10rem; } .Social .links * { - margin: 25px; + margin: 10px; } \ No newline at end of file