Template:Main page/navigation/styles.css

Template page
< Template:Main page/navigation
Revision as of 02:33, 18 December 2022 by Momo (talk | contribs) (Created page with "#home-nav { margin-top: 1rem; } #home-nav .home-card__background:after { position: absolute; pointer-events: none; top: 0; right: 0; bottom: 0; left: 0; display: block; background: linear-gradient(to right,#000,transparent); content: ""; } #home-nav .home-card__foreground { pointer-events: none; height: 100%; width: 100%; display: flex; align-items: center; padding: 0 15px; color: #fff; font-weight: 500; }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
#home-nav {
	margin-top: 1rem;
}

#home-nav .home-card__background:after {
	position: absolute;
    pointer-events: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
}

#home-nav .home-card__foreground {
	pointer-events: none;
	height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #fff;
    font-weight: 500;
}