mirror of
https://github.com/tildeclub/site.git
synced 2026-01-24 05:50:17 +00:00
tilde.club is back. sign up related update.
This commit is contained in:
33
style.css
33
style.css
@@ -53,6 +53,39 @@ h1 {
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
/* Style the navbar */
|
||||
#navbar {
|
||||
overflow: hidden;
|
||||
background-color: darkorange;
|
||||
}
|
||||
|
||||
/* Navbar links */
|
||||
#navbar a {
|
||||
float: left;
|
||||
display: block;
|
||||
color: black;
|
||||
text-align: center;
|
||||
padding: 14px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Page content */
|
||||
.content {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
|
||||
.sticky {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
|
||||
.sticky + .content {
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
textarea {
|
||||
background-color: #333;
|
||||
|
||||
Reference in New Issue
Block a user