Browse Source

fix flexbox

master
wacked 5 years ago
parent
commit
27bf8ec707
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      static/css/main.css

+ 3
- 7
static/css/main.css View File

body { body {
display: flex; display: flex;
text-align: center; text-align: center;
flex-flow: row wrap;
}

body > * {
flex: 1 100%;
flex-flow: column wrap;
} }




main { main {
margin: auto; margin: auto;
flex: 1 0;
flex: 8 0;
} }


img { img {
} }


footer { footer {
flex-shrink: 0;
flex: 1 0 auto;
border-top: var(--border-width) solid var(--accent); border-top: var(--border-width) solid var(--accent);
} }



Loading…
Cancel
Save