.headerbutton { border: none; border-radius: 8px; justify-content: center; align-items: center; text-decoration: none; display: flex; font-size: 16px; margin: 4px 2px; padding-left: 0.3cm; padding-right: 0.3cm; cursor: pointer; height: 35px; transition-duration: 0.2s; } .topbar { position: fixed; width: 100%; top: 0px; left: 0px; z-index: 10; } .topbar-group { display: flex; justify-content: space-between; margin-left: 1cm; margin-right: 1cm; } .simple-topbar { position: fixed; width: 100%; height: 1.2cm; top: 0px; left: 0px; z-index: 10; } .simple-topbar-backbutton { position: absolute; border-radius:10px; justify-content: center; align-items: center; text-decoration: none; display: grid; font-size: 14px; cursor: pointer; margin: 0.1cm; transition-duration: 0.2s; width: 1cm; height: 1cm; } @media only screen and (max-width: 750px) { .topbar-group { display: flex; align-items: center; flex-direction: column; margin-left: 0cm; margin-right: 0cm; } .headerbutton { border: none; border-radius: 8px; justify-content: center; align-items: center; text-decoration: none; display: flex; font-size: 14px; margin: 4px 2px; padding-left: 0.2cm; padding-right: 0.2cm; cursor: pointer; height: 35px; transition-duration: 0.2s; } } @media (prefers-color-scheme: light) { .headerbutton { color: black; } .headerbutton:hover { background-color: #fafafa; } .topbar { background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(224, 224, 224, 1); color: #000000; } .simple-topbar { background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(224, 224, 224, 1); color: #000000; } .simple-topbar-backbutton { color: black; } .simple-topbar-backbutton:hover { background-color: #DEDEDE; } } @media (prefers-color-scheme: dark) { .headerbutton { color: #ffffff; } .headerbutton:hover { background-color: #4a4a4a; } .topbar { background-color: #303030; border: 1px solid #1f1f1f; color: #ffffff; } .simple-topbar { background-color: #303030; border: 1px solid #1f1f1f; color: #ffffff; } .simple-topbar-backbutton { color: #ffffff; } .simple-topbar-backbutton:hover { background-color: #3e3e3e; } }