Skip to content

Instantly share code, notes, and snippets.

@jxpsert
Created January 12, 2022 10:05
Show Gist options
  • Save jxpsert/2435c409b17bde0bf044686a573f80f9 to your computer and use it in GitHub Desktop.
Save jxpsert/2435c409b17bde0bf044686a573f80f9 to your computer and use it in GitHub Desktop.
/* everything related to topbar */
#topbar {
top: 0;
text-align: left;
width: 100%;
background-color: #2c2c2c;
height: 10vh;
white-space: nowrap;
display: flex;
justify-content: left;
position: fixed;
z-index: 99;
box-shadow: 0px 10px 10px 0px black;
vertical-align: middle;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none;
}
.topbarmenuitem {
display: inline-flex;
font-family: "Open Sans Bold";
left: 0;
max-width: 5vw;
padding: 0.4em;
font-size: 1.25em;
text-transform: uppercase;
}
.topbarmenuitem:hover {
cursor: pointer;
color: #bebebe;
}
#topbarmenu {
position: relative;
left: 0;
top: 0;
width: 100%;
list-style-type: none;
gap: 1em;
display: flex;
justify-content: left;
vertical-align: middle;
}
.topbarmenulogo {
width: 5em;
transition: 0.2s;
}
.navbarsearch {
border-radius: 0px;
background-color: rgba(0, 0, 0, 0);
box-shadow: none;
border: none;
color: white;
padding: 0px;
font-size: 1.1em;
font-family: "Open Sans Bold";
margin: 0px;
overflow: visible;
vertical-align: middle;
width: 75vw;
text-transform: uppercase;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment