mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
679 B
36 lines
679 B
._notice {
|
|
position: absolute;
|
|
z-index: $noticeZ;
|
|
bottom: 0;
|
|
left: $sidebarWidth;
|
|
right: 0;
|
|
height: 2.5rem;
|
|
padding: 0 1.25rem;
|
|
background: $noticeBackground;
|
|
box-shadow: inset 0 1px $noticeBorder;
|
|
|
|
@media #{$mediumScreen} { left: $sidebarMediumWidth; }
|
|
|
|
&:not(._top) ~ ._container { padding-bottom: 2.5rem; }
|
|
|
|
&._top {
|
|
bottom: auto;
|
|
top: $headerHeight;
|
|
margin-top: 1px;
|
|
box-shadow: inset 0 -1px $noticeBorder;
|
|
|
|
~ ._container { padding-top: 2.5rem; }
|
|
}
|
|
}
|
|
|
|
._notice-text {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
margin: 0;
|
|
height: 2.5rem;
|
|
line-height: 1rem;
|
|
font-size: .875rem;
|
|
}
|
|
|
|
._notice-link { cursor: pointer; }
|