<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <header>
+ <header class="page_header">
<h3><a href="/">iankelling.org</a>#{o[:header]}</h3>
</header>
<div class="main-content-stripe">
/* a few other things are duplicated in main.css and gitweb.css,*/
-/* but they are for different classes and such, and it's not worth using*/
-/* css variables etc at this point. */
+
+$main-column-max-width: 700px;
/* nice font seen elsewhere. google -> stackoverflow -> localfont.com */
/* If I didn't use this font, I'd just go with sans-serif */
border-width: 0px;
}
.page_header,.page_footer {
- margin: 0 auto;
- max-width: 700px;
+ // auto centers it
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 0;
+ margin-bottom: 0;
+ padding-left: 30px;
+ padding-right: 30px;
+ max-width: $main-column-max-width;
}
table.project_list {
margin-top: 21.0667px;
margin-bottom: 21.0667px;
/* remove padding added by gitweb's css */
- padding: 0;
+ padding-top: 0;
+ padding-bottom: 0;
}
/* I tried to find all the css to override,*/
#comment-section {
/* make the top/bottom of comments have more space */
- padding: 30px 0;
+ padding-top: 30px;
+ padding-bottom: 30px;
}
footer p {
margin: 0;
}
-header,footer,.content,#comment-section {
- /* top margin 0, left/right = auto, which centers it */
- margin: 0 auto;
+.page_header,footer,.content,#comment-section {
+ // auto centers it
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 0;
+ margin-bottom: 0;
+ padding-left: 30px;
+ padding-right: 30px;
/* default too wide */
- max-width: 700px;
+ max-width: $main-column-max-width;
}
footer {
font-size: 15px;