#241445; width: 200px; padding: 20px; font-size: smaller; /* this makes the sidebar text slightly smaller */ } /* this is the color of the main content area, between the sidebars! */ main { background-color: #43256E; flex: 1; padding: 20px; order: 2; } /* what's this "order" stuff about?? allow me to explain! if you're using both sidebars, the "order" value tells the CSS the order in which to display them. left sidebar is 1, content is 2, and right sidebar is 3! */ */ #leftSidebar { order: 1; } #rightSidebar { order: 3; } footer { background-color: #13092D; /* background color for footer */ width: 100%; height: 40px; padding: 10px; text-align: center; /* this centers the footer text */ } h1, h2, h3 { color: #ED64F5; } h1 { font-size: 25px; } strong { /* this styles bold text */ color: #ED64F5; } /* this is just a cool box, it's the darker colored one */ .box { background-color: #13092D; border: 1px solid #ED64F5; padding: 10px; } /* CSS for extras */ #topBar { width: 100%; height: 30px; padding: 10px; font-size: smaller; background-color: #13092D; } /* BELOW THIS POINT IS MEDIA QUERY */ /* so you wanna change the width of your page? by default, the container width is 900px. in order to keep things responsive, take your new height, and then subtrack it by 100. use this new number as the "max-width" value below */ @media only screen and (max-width: 800px) { #flex { flex-wrap: wrap; } aside { width: 100%; } /* the order of the items is adjusted here for responsiveness! since the sidebars would be too small on a mobile device. feel free to play around with the order! */ main { order: 1; } #leftSidebar { order: 2; } #rightSidebar { order: 3; } #navbar ul { flex-wrap: wrap; } }