website/static/css/custom.css
Gusted c9bdf22531 Add Matrix link (#105)
- Add Matrix link to header.
- Switch to [Fork-Awesome](https://forkaweso.me/Fork-Awesome/), as it
includes a matrix icon. This requires the inclusion from `header.html`
to change the otherwise hardcoded Font-Awesome style.

Reviewed-on: https://gitea.com/gitea/website/pulls/105
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-committed-by: Gusted <williamzijl7@hotmail.com>
2022-02-01 07:10:39 +08:00

39 lines
998 B
CSS

.dropdown-content {
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
display: none;
margin-left: -15px;
margin-top: 145px;
min-width: 160px;
position: absolute;
}
.dropdown:hover .dropdown-content {
display: block;
}
.hero.is-primary .navbar .navbar-item.dropdown:not(.non_existent) {
color: inherit;
cursor: pointer;
}
.hero.is-primary .navbar-item:hover {
background-color: #e5eaec;
}
@media screen and (max-width: 1023px) {
.dropdown-content {
background-color: #395068;
margin-left: -15px;
margin-top: 0;
}
.hero.is-primary a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current),
.hero.is-primary div.dropdown:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current) {
color: rgb(241, 234, 234);
}
.hero.is-primary a.navbar-item:hover,
.hero.is-primary div.navbar-item:hover {
background-color: #225164;
}
}