--
This commit is contained in:
parent
40143681de
commit
13aede1519
5 changed files with 139 additions and 42 deletions
|
|
@ -83,10 +83,12 @@ a:hover {
|
|||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.masthead p.content .subheader {
|
||||
font-size: 32px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.masthead .down {
|
||||
|
|
@ -149,7 +151,7 @@ img.large {
|
|||
background-color: #2a2a2a;
|
||||
color: #eeeeee;
|
||||
position: fixed;
|
||||
z-index: 10000000;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
|
|
@ -164,6 +166,8 @@ img.large {
|
|||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.masthead {
|
||||
|
|
@ -180,10 +184,9 @@ body {
|
|||
}
|
||||
|
||||
.titlebar.top .item {
|
||||
background-color: #3a3a3a;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
|
|
@ -191,12 +194,19 @@ body {
|
|||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
background-color: #3a3a3a;
|
||||
font-family: "Spartan";
|
||||
padding: 0px 1rem;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.titlebar.top .item span {
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.titlebar.top .item:hover {
|
||||
background-color: #2a2a2a;
|
||||
-webkit-transition: all ease-in 150ms;
|
||||
|
|
@ -214,6 +224,11 @@ body {
|
|||
width: 100vw;
|
||||
}
|
||||
|
||||
.dropdown.item {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.dropdown.item:hover .dropdown-content {
|
||||
max-height: 100vh;
|
||||
display: block;
|
||||
|
|
@ -222,28 +237,43 @@ body {
|
|||
.dropdown.item .dropdown-content {
|
||||
max-height: 0px;
|
||||
overflow-y: hidden;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
-webkit-transition: max-height 0.5s ease-in-out;
|
||||
transition: max-height 0.5s ease-in-out;
|
||||
position: absolute;
|
||||
background-color: #3a3a3a;
|
||||
min-width: 160px;
|
||||
margin-left: -1rem;
|
||||
margin-top: 5.45em;
|
||||
}
|
||||
|
||||
.dropdown.item .dropdown-content a {
|
||||
.dropdown.item .dropdown-content .item {
|
||||
color: #eeeeee;
|
||||
padding: 12px 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dropdown.item .dropdown-content a:hover {
|
||||
.dropdown.item .dropdown-content .item:hover {
|
||||
background-color: #252525;
|
||||
-webkit-transition: all ease-in 150ms;
|
||||
transition: all ease-in 150ms;
|
||||
}
|
||||
|
||||
.dropdown.item .dropdown-content .dropdown.item {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.dropdown.item .dropdown-content .dropdown.item .dropdown-content {
|
||||
max-width: 100vw;
|
||||
max-height: 100vh;
|
||||
}
|
||||
|
||||
.dropdown.item .dropdown.item .dropdown-content {
|
||||
top: 0;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: 8px;
|
||||
|
|
@ -385,4 +415,17 @@ button:active {
|
|||
transform: translateY(-15px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 767px) {
|
||||
.dropdown.item.compact > *,
|
||||
.dropdown.item.compact {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.titlebar.top .item:not(.compact) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
/*# sourceMappingURL=main.css.map */
|
||||
Loading…
Reference in a new issue