* { } .index { width: 100%; height: 100%; background: linear-gradient( -45deg, rgba(0, 0, 64, 0.5), rgba(128, 0, 64, 0.5) ); padding: 1rem; } .index > div { display: inline-block; padding: 1rem; max-height: calc(100% - 2rem); overflow: scroll; background: rgba(64,12,64,0.9); box-shadow: 3px 3px 6px rgba(0,0,0,0.4), inset 0 0 60px rgba(128,255,255,0.1); } .graphIndex { min-width: 20rem; display: flex; flex-direction: column; } .graphIndex > * { margin-bottom: 0.5rem; } .graphIndex > div { display: flex; flex-direction: row; justify-content: space-between } .graphIndex > div > a:first-child { color: #fff; }