bobatheme/assets/css/bobastyle.css

95 lines
1.1 KiB
CSS
Raw Normal View History

2021-09-30 09:54:30 -05:00
/* Layout */
.header {
padding: 10px;
}
.page {
display: flex;
}
.side, .content, .footer {
padding: 20px;
}
#navbar {
overflow: hidden;
}
#navbar a {
float: left;
display: block;
padding: 14px 20px;
}
2021-09-25 20:52:01 -05:00
body {
margin: 0;
display: flex;
flex-direction: column;
}
2021-09-30 09:54:30 -05:00
* {
box-sizing: border-box;
2021-09-25 20:52:01 -05:00
}
2021-09-30 09:54:30 -05:00
@media screen and (max-width: 700px) {
.page {
flex-direction: column;
}
2021-09-25 20:52:01 -05:00
}
2021-09-30 09:54:30 -05:00
@media screen and (max-width: 400px) {
#navbar a {
float: none;
width: 100%;
}
}
/* Styling */
2021-09-25 20:52:01 -05:00
.header {
text-align: center;
2021-09-26 19:17:09 -05:00
background: #1a406b;
color: lightgray;
2021-09-25 20:52:01 -05:00
}
.header h1 {
font-size: 40px;
}
#navbar {
2021-09-26 19:17:09 -05:00
background-color: #222;
2021-09-25 20:52:01 -05:00
}
#navbar a {
2021-09-26 19:17:09 -05:00
color: lightgray;
2021-09-25 20:52:01 -05:00
text-align: center;
text-decoration: none;
}
#navbar a:hover {
2021-09-26 19:17:09 -05:00
background-color: #444;
color: white;
2021-09-25 20:52:01 -05:00
}
.side {
2021-09-26 19:17:09 -05:00
background-color: #111;
color: lightgray;
2021-09-25 20:52:01 -05:00
}
.content {
2021-09-26 19:17:09 -05:00
color: lightgray;
2021-09-25 20:52:01 -05:00
}
.footer {
text-align: center;
background: #ddd;
}
2021-09-30 09:54:30 -05:00
body {
background-color: black;
font-family: sans-serif;
}
2021-09-30 09:54:30 -05:00
a {
color: #4da6ff;
}
blockquote {
border-left: 5px solid #222;
padding-left: 10px;
}