Begin a basic responsive theme

This commit is contained in:
2020-05-08 00:01:50 +00:00
parent 13d3d4842f
commit 7a4b8385dc
4 changed files with 113 additions and 1 deletions

BIN
themes/theme/static/me.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

View File

@@ -0,0 +1,50 @@
body {
text-rendering: optimizeLegibility;
font: 1rem/1.3 sans-serif;
}
.container {
max-width: 40rem;
margin: 1rem auto 0 auto;
}
.sidebar {
margin-top: 1rem;
float: left;
width: 8rem;
text-align: right;
}
.sidebar img {
width: 100%;
}
.topbar {
}
.topbar ul {
padding-left: 0;
}
.topbar li {
display: inline;
margin-right: 0.5rem;
}
.content {
}
@media screen and (min-width:30rem) {
.content {
margin-left: 10rem;
}
.topbar {
display: none;
}
}
@media screen and (max-width:30rem) {
.sidebar {
display: none;
}
}