That didn’t work either. Here is my whole code maybe I goofed somewhere else?
/*
========================================
CSS Reset
========================================
*/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*
========================================
Main
========================================
*/
#main {
background-color: #f5e0c0;
display: grid;
grid-template-areas:
"head"
"hero"
"articles"
"footer";
}
h1,
h2,
h3, {
color: #333634;
}
/*
========================================
Hearder
========================================
*/
#title {
padding: 2em;
background-color: #d76144;
/*for debugging */
text-align: center;
grid-area: head;
}
/*
========================================
Nav
========================================
*/
/*make this a flexbox*/
/*nav {
grid-area: nav;
padding: 2em;
border: 1px solid #98b2b3;
background-color: #d76144;
}*/
a {
color: #89b352;
text-decoration: none;
}
a:hover {
color: #98b2b3;
}
a:visited {
text-decoration: underline;
}
/*
========================================
Image
========================================
*/
/*I need to figure out how to size it right*/
.hero {
grid-area: hero;
text-align: center;
}
img {
margin-top: .5em;
height: 100%;
width: auto;
max-width: 700px;
max-height: 800px;
}
#img-caption {
display: none;
}
/*
========================================
Article
========================================
*/
/*Needs scroll bars, and general design work*/
.articles {
margin-top: 0;
grid-area: articles;
display: grid;
grid-template-columns: repeat(3, auto);
grid-auto-rows: auto;
}
#tribute-info {
margin: 2em;
height: 300px;
padding: 1em;
overflow: auto;
border: 1px dotted #fff;
background-color: #98b2b3;
}
/*
========================================
Footer
========================================
*/
footer {
padding: 1.5em;
display: flex;
justify-content: space-between;
grid-area: footer;
background-color: #d76144;
}
.column-1-3,
.column-2-3 {
margin: 0;
}
.column-2-3 {
padding: inherit;
text-align: justify;
}
.column-1-3 {
padding: inherit;
margin: 0;
}
/*
========================================
Responsive
========================================
*/
/* BROKEN NEEDS WORK */
@media only screen and (max-width: 500px) {
body {
display: grid;
grid-template-areas:
"head"
"articles"
"hero"
"footer"
}
.articles {
display: block;
text-align: center;
}
}