mirror of
https://gitea.com/gitea/website.git
synced 2024-06-03 00:31:24 +05:30
c9bdf22531
- 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>
39 lines
998 B
CSS
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;
|
|
}
|
|
} |