summaryrefslogtreecommitdiffstats
path: root/themes/custom
diff options
context:
space:
mode:
authorLibravatarKrytarik Raido <krytarik@tuxgarage.com>2015-07-23 04:56:04 +0200
committerLibravatarKrytarik Raido <krytarik@tuxgarage.com>2015-07-23 04:56:04 +0200
commitd54dc2fe35a7619b2dbd704a2ed845e1bc05ea40 (patch)
tree23d0f7682026a8cb551540660242872bcd95ade7 /themes/custom
parent8b363997eadbd89069d8f60a22877e7465b7f90f (diff)
Make download page responsive.
Diffstat (limited to 'themes/custom')
-rw-r--r--themes/custom/assets/css/custom.css53
1 files changed, 53 insertions, 0 deletions
diff --git a/themes/custom/assets/css/custom.css b/themes/custom/assets/css/custom.css
index a55dfb9..5e18bba 100644
--- a/themes/custom/assets/css/custom.css
+++ b/themes/custom/assets/css/custom.css
@@ -42,6 +42,59 @@ code, pre {
display: block;
}
+.floatbox {
+ float: left;
+}
+
+.floatbox-left {
+ margin-right: 18%;
+}
+
+.clear {
+ clear: both;
+}
+
+/* h1, h2, h3, h4, h5, h6 */
+.floatbox .title {
+ margin: 10px 0;
+ font-family: inherit;
+ font-weight: normal;
+ line-height: 20px;
+ color: #ffffff;
+ text-rendering: optimizelegibility;
+}
+
+/* h1, h2, h3 */
+.entry-content > .floatbox .title,
+.sectionbody > .floatbox .title {
+ margin-top: -40px;
+ padding-top: 60px;
+ line-height: 40px;
+}
+
+/* h4, h5, h6 */
+.sect2 > .floatbox .title,
+.sect3 > .floatbox .title,
+.sect4 > .floatbox .title {
+ margin-top: -50px;
+ padding-top: 60px;
+}
+
+/* h2 */
+.entry-content > .floatbox .title {
+ font-size: 31.5px;
+}
+
+/* h3 */
+.sectionbody > .floatbox .title {
+ font-size: 24.5px;
+}
+
+/* h4 */
+.sect2 > .floatbox .title {
+ font-size: 17.5px;
+}
+
@media (max-width: 979px) {
.navbar .nav > li > .dropdown-menu:before,
.navbar .nav > li > .dropdown-menu:after {