mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
80 lines
1.1 KiB
CSS
80 lines
1.1 KiB
CSS
@media screen and (max-width: 700px) {
|
|
.row {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
@media screen and (max-width: 400px) {
|
|
.navbar a {
|
|
float: none;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
body {
|
|
background-color: black;
|
|
font-family: sans-serif;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
a {
|
|
color: #4da6ff;
|
|
}
|
|
blockquote {
|
|
border-left: 5px solid #222;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.header {
|
|
padding: 10px;
|
|
text-align: center;
|
|
background: #1a406b;
|
|
color: lightgray;
|
|
}
|
|
.header h1 {
|
|
font-size: 40px;
|
|
}
|
|
|
|
.navbar {
|
|
overflow: hidden;
|
|
background-color: #222;
|
|
}
|
|
.navbar a {
|
|
float: left;
|
|
display: block;
|
|
color: lightgray;
|
|
text-align: center;
|
|
padding: 14px 20px;
|
|
text-decoration: none;
|
|
}
|
|
.navbar a:hover {
|
|
background-color: #444;
|
|
color: white;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
.row {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
.side {
|
|
width: 20%;
|
|
background-color: #111;
|
|
color: lightgray;
|
|
padding: 20px;
|
|
}
|
|
.main {
|
|
width: 80%;
|
|
background-color: black;
|
|
color: lightgray;
|
|
padding: 20px;
|
|
}
|
|
.footer {
|
|
padding: 20px;
|
|
text-align: center;
|
|
background: #ddd;
|
|
}
|