/*------------------------- Simple reset --------------------------*/ html { font-size: 100%; } body, a, table, section, div, ul, li, form, input, button { margin: 0; padding: 0; box-sizing: border-box; line-height: 1; } body { background-color: #F6F7F9; font-family: 'Open Sans', Georgia, sans-serif, Arial; font-size: 1rem; color: #343A3F; } img { border: 0 none; height: auto; max-width: 100%; outline: 0 none; } a { color: #111; text-decoration: none; transition: 500ms all ease-in; } a:hover { color: rgb(231, 149, 25); } p { color: #999; } ul { list-style: none; } input, button, textarea { background: none; border: none; font-size: 1.4rem; margin: 0.5rem 0; } form { font-family: 'Oswald', Georgia, sans-serif, Arial; color: #546673; } input, textarea { background-color: #fff; border: 1px solid #CFDAE5; border-radius: 0.25rem; padding: .25rem 1rem; } textarea { width: 95%; } input[type="submit"] { background: #343A3F; padding: .4rem 1.4rem; color: #fff; } #content [type="text"] { width: 100%; } #menu { display: flex; justify-content: space-around; } /*------------------------- Heading --------------------------*/ h1, h2, h3, h4, h5, h6, th { font-family: 'Oswald', sans-serif; line-height: 1.3; } /*------------------------- Layout --------------------------*/ #header-wrapper, #footer-wrapper { background-color: #546673; color: #fff; padding: 1rem; } #header-wrapper { text-align: center; } #content-wrapper { padding: 1rem; } #outer-wrapper { display: flex; flex-direction: column; } #wmd-preview{ border: 5px solid #ABB6C5; } /*------------------------- Layout: Content --------------------------*/ #content { display: flex; justify-content: space-between; flex-wrap: wrap; } #content > * { min-width: 20rem; } #content > h2 { max-width: 100%; flex: initial; text-align: center; border: 5px solid #ABB6C5; border-width: 5px 0; color: #111; display: block; width: 100%; padding: 1rem 0; text-transform: uppercase; } #content p a { font-family: 'Oswald', sans-serif; font-size: 1.6rem; line-height: 3rem; } #content p a:hover { padding-left: .5rem; } #content > a { background: #343A3F; border-radius: 0.25rem; padding: 1rem .5rem; margin: 1rem 0; color: #fff; font-size: 1.3rem; text-align: center; } /*------------------------- Menu --------------------------*/ .nav { font-family: 'Open Sans', sans-serif; display: flex; flex-direction: column; font-size: 1.2rem; } .subnav { font-size: 1rem; padding: .5rem; } .nav > *, .subnav > * { padding: .25rem; margin: 0 0.25rem; } .nav a { } .nav a:before { content:'Page'; border: 1px solid #ABB6C5; border-radius: .25rem; color: #7E909D; font-family: 'Oswald', sans-serif; font-style: italic; font-size: 0.75rem; padding: 0 1rem; margin: 0.25rem; } .subnav a:before { content:'\21B3'; background: none; border: none; } /*------------------------- Table --------------------------*/ table { color: #111; background-color:#dbe3eb; border-collapse: collapse; border: 1px solid #ABB6C5; border-radius: 3px; color: #111; } table a { color: #111; } th { border-bottom: 2px solid #343A3F; background-color: #ABB6C5; padding: .5rem 0; text-transform: uppercase; } td { padding: .5rem 1rem; } tbody tr:nth-child(even) { background-color: #fff; } /* Operations */ td:last-of-type > * { font-family: 'Oswald', sans-serif; padding: .25rem .5rem; margin: 0.15rem; font-size: .85rem; background-color: #ABB6C5; width: 5rem; display: inline-block; color: #111; border: 1px solid #fff; border-radius: .25rem; } /* Post title */ td:first-of-type a:first-of-type { font-family: 'Oswald', sans-serif; font-size: 1.2rem; line-height: 2rem; } #config, #content form { width: 100%; } #config input { font-family: 'Open Sans', sans-serif; font-size: 1.1rem; background-color: #fff; border: 1px solid #a8b4bd; } @media all and (max-width: 550px) { tbody, tr{ display: flex; flex-direction: column; } }