Commit d1a3d8dc by Daniel Kochmański

css: add responsiveness

parent 563922f9
Pipeline #118 skipped in 0 seconds
Showing with 57 additions and 43 deletions
body {
width: 90%;
max-width: 900px;
margin: auto;
padding: 20px;
font-size: 1em;
}
@media(min-resolution: 120dpi) {
body {
font-size: 1.75em;
}
}
.header {
font-size: medium;
background-color:#336699;
color:#ffffff;
border-style:solid;
border-width: 5px;
border-color:#002244;
padding: 1mm 1mm 1mm 5mm;
font-size: 100%;
background-color:#336699;
color:#ffffff;
border-style:solid;
border-width: 5px;
border-color:#002244;
text-align: center;
padding-left: 10px;
padding-right: 10px;
}
.header a:link {
/* font-weight:bold; */
color:#ffffff;
text-decoration:none;
/* text-decoration:underline; */
}
.header a:visited {
/* font-weight:bold; */
color:#ffffff;
text-decoration:none;
}
.header a:hover {
/* font-weight:bold; */
color:#002244;
text-decoration:underline;
}
.header ul {
display: inline-block;
padding: 0;
}
.header li {
font-size: 110%;
list-style-type: none;
display: inline;
float: left;
padding: 0 22px 0 0;
}
.content {
font-size: medium;
font-size: 100%;
margin: 10px;
padding: 1mm 1mm 1mm 5mm;
max-width: 900px;
......@@ -50,6 +76,25 @@
text-decoration:underline;
}
.pager {
padding: 0;
}
.previous {
list-style-type: none;
float: left;
}
.next {
list-style-type: none;
float: right;
}
pre {
border: 1px solid #000;
padding: 5px;
}
.footer {
font-size: small;
font-style: italic;
......@@ -79,34 +124,3 @@
color:#002244;
text-decoration:underline;
}
.header ul {
padding: 0;
}
.header li {
font-size: 110%;
list-style-type: none;
display: inline;
float: left;
padding: 0 22px 0 0;
}
.pager {
padding: 0;
}
.previous {
list-style-type: none;
float: left;
}
.next {
list-style-type: none;
float: right;
}
pre {
border: 1px solid #000;
padding: 5px;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment