×
Layout CSS
Copy to Clipboard
body {
background: #0a0a0f;
color: #b8c9d4;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
}
/* Layout */
#page, .page, .container {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}
/* Header area */
.header, #header, .top-bar {
background: #111118;
border-bottom: 2px solid #1a1a24;
padding: 20px;
text-align: center;
}
.header h1 {
color: #e0e0f0;
font-size: 28px;
margin: 0;
letter-spacing: 2px;
}
.header p {
color: #7a8a99;
font-size: 13px;
margin: 5px 0 0 0;
}
/* Navigation */
.nav, .navbar, .menu {
background: #0d0d14;
border-bottom: 1px solid #1a1a24;
padding: 10px 20px;
}
.nav a, .navbar a {
color: #8a9aa8;
text-decoration: none;
padding: 8px 12px;
font-size: 13px;
}
.nav a:hover {
color: #c0d0dd;
background: #16161f;
border-radius: 4px;
}
/* Left sidebar */
.sidebar-left, .left-column, .profile-sidebar {
width: 200px;
float: left;
background: #0d0d14;
border: 1px solid #1a1a24;
border-radius: 6px;
padding: 15px;
margin-top: 20px;
}
.sidebar-left h3, .profile-name {
color: #d0d8e0;
font-size: 16px;
margin: 0 0 3px 0;
}
.sidebar-left p, .profile-tagline {
color: #6a7a88;
font-size: 11px;
margin: 0 0 15px 0;
font-style: italic;
}
.sidebar-left a {
color: #8a9aa8;
text-decoration: none;
display: block;
padding: 5px 0;
font-size: 13px;
}
.sidebar-left a:hover {
color: #c0d0dd;
}
/* Main content */
.main-content, .center-column {
margin-left: 230px;
margin-right: 230px;
padding: 20px;
}
.main-content h2 {
color: #d0d8e0;
font-size: 22px;
margin: 0 0 10px 0;
}
.main-content p {
color: #8a9aa8;
font-size: 13px;
line-height: 1.6;
}
/* Welcome box */
.welcome-box, .join-box {
background: #0d0d14;
border: 1px solid #1a1a24;
border-radius: 6px;
padding: 20px;
margin: 20px 0;
text-align: center;
}
.welcome-box h2 {
color: #d0d8e0;
font-size: 22px;
margin: 0 0 10px 0;
}
.welcome-box p {
color: #8a9aa8;
font-size: 13px;
margin: 0 0 15px 0;
}
.join-button, .btn {
background: #1a1a24;
color: #c0d0dd;
border: 1px solid #2a2a38;
padding: 10px 30px;
font-size: 14px;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
display: inline-block;
}
.join-button:hover {
background: #252535;
border-color: #3a3a4a;
}
/* Recent updates */
.update-item {
border-bottom: 1px solid #1a1a24;
padding: 12px 0;
}
.update-item .update-title {
color: #c0d0dd;
font-size: 14px;
margin: 0 0 3px 0;
}
.update-item .update-text {
color: #6a7a88;
font-size: 12px;
font-style: italic;
margin: 0 0 3px 0;
}
.update-item .update-meta {
color: #5a6a78;
font-size: 11px;
}
.update-item .update-meta a {
color: #7a8a99;
text-decoration: none;
}
.update-item .update-meta a:hover {
color: #a0b0bd;
}
/* Right sidebar */
.sidebar-right, .right-column {
width: 200px;
float: right;
background: #0d0d14;
border: 1px solid #1a1a24;
border-radius: 6px;
padding: 15px;
margin-top: 20px;
}
.sidebar-right .quote {
color: #6a7a88;
font-size: 12px;
font-style: italic;
text-align: center;
margin: 0 0 15px 0;
line-height: 1.5;
}
.sidebar-right h4 {
color: #8a9aa8;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 1px;
margin: 0 0 10px 0;
border-bottom: 1px solid #1a1a24;
padding-bottom: 5px;
}
.sidebar-right .friend-list {
list-style: none;
padding: 0;
margin: 0 0 15px 0;
}
.sidebar-right .friend-list li {
color: #8a9aa8;
font-size: 13px;
padding: 3px 0;
}
.sidebar-right .stats {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar-right .stats li {
color: #7a8a99;
font-size: 12px;
padding: 2px 0;
}
/* Footer */
.footer, #footer {
clear: both;
background: #0d0d14;
border-top: 1px solid #1a1a24;
padding: 15px 20px;
text-align: center;
margin-top: 30px;
}
.footer a {
color: #5a6a78;
text-decoration: none;
font-size: 11px;
padding: 0 10px;
}
.footer a:hover {
color: #8a9aa8;
}
/* Clear floats */
.clearfix::after {
content: "";
display: table;
clear: both;
}
Comments (0)
No comments yet. Be the first!
Log in to leave a comment.