maxwidth nav

This commit is contained in:
H.T. Kruitbosch 2017-11-29 13:34:18 +01:00
parent a3d5723ea6
commit 4a8c087a5b
4 changed files with 11 additions and 134 deletions

View File

@ -1 +1 @@
__version__ = '0.1.24' __version__ = '0.1.26'

View File

@ -34,8 +34,6 @@ class Command(BaseCommand):
parser.add_argument('--expires-after-days', nargs='?', type=int, default=10 * 365, dest='expires') parser.add_argument('--expires-after-days', nargs='?', type=int, default=10 * 365, dest='expires')
def handle(self, *args, **options): def handle(self, *args, **options):
print('=' * 100)
print(options)
for option in {'country', 'city', 'state', 'organisation', 'organisation_unit', 'common_name', 'support_name', for option in {'country', 'city', 'state', 'organisation', 'organisation_unit', 'common_name', 'support_name',
'support_email', 'technical_name', 'technical_email', 'entity_id', 'base_url'}: 'support_email', 'technical_name', 'technical_email', 'entity_id', 'base_url'}:
assert option in options and options[option] is not None and len(options[option]) == 1, "Expected one " \ assert option in options and options[option] is not None and len(options[option]) == 1, "Expected one " \

View File

@ -213,35 +213,11 @@ summary {
display: none display: none
} }
blockquote, body, dd, dl, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, html, legend, ol, p, pre, ul { body {
margin: 0; margin: 0;
padding: 0 padding: 0
} }
hr, li > ol, li > ul, pre {
margin-bottom: 0
}
dl dd, dl dt, h1, h2, h3, h4, h5, h6 {
margin-bottom: .25rem
}
caption, p {
margin-bottom: 1.5rem
}
table {
border-collapse: collapse;
border-spacing: 0
}
fieldset {
min-width: 0
}
iframe {
padding: 0
}
blockquote { blockquote {
font-family: "Open Sans Italic", sans-serif; font-family: "Open Sans Italic", sans-serif;
@ -260,46 +236,6 @@ legend {
width: 100% width: 100%
} }
input, select, textarea {
font-size: 1rem;
font-family: "Open Sans", sans-serif
}
h1, h2, h3, h4, h5, h6 {
color: #000;
font-family: "Open Sans Semi-Bold", sans-serif;
font-weight: 600;
line-height: 1.125em
}
h1, ol li, ul li {
margin-bottom: .5rem
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
color: #000
}
h1 {
font-size: 1.75rem
}
h2 {
font-size: 1.5rem
}
h3 {
font-size: 1.25rem
}
h4 {
font-size: 1.125rem
}
h5, h6 {
font-size: 1rem
}
embed, img, object { embed, img, object {
font-family: "Open Sans Italic", sans-serif; font-family: "Open Sans Italic", sans-serif;
max-width: 100%; max-width: 100%;
@ -319,38 +255,6 @@ figcaption {
text-decoration: none text-decoration: none
} }
dl, ol, ul {
margin-left: 1.5rem
}
ul {
list-style-type: none
}
ol[data-style-type=lower-alpha] {
list-style-type: lower-alpha
}
ol[data-style-type=upper-alpha] {
list-style-type: upper-alpha
}
ol[data-style-type=lower-roman] {
list-style-type: lower-roman
}
ol[data-style-type=upper-roman] {
list-style-type: upper-roman
}
li > ol, li > ul {
margin-top: .5rem
}
dl dt {
font-weight: 700
}
html { html {
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
@ -375,20 +279,6 @@ html {
} }
} }
p {
line-height: 1.5rem;
max-width: 688px
}
caption, td, th {
padding: .25rem .5rem;
text-align: left;
vertical-align: top
}
tr td:first-child {
padding-left: 0
}
mark { mark {
background-color: #fff6e6; background-color: #fff6e6;
@ -937,7 +827,7 @@ input.hasDatepicker {
color: #ea2422 color: #ea2422
} }
.h1, .h2, .h3, .h4, .h5, .h6, .ui-dialog .ui-dialog-titlebar .ui-dialog-title { .ui-dialog .ui-dialog-titlebar .ui-dialog-title {
color: #000; color: #000;
font-family: "Open Sans Semi-Bold", sans-serif; font-family: "Open Sans Semi-Bold", sans-serif;
font-weight: 600; font-weight: 600;
@ -945,25 +835,12 @@ input.hasDatepicker {
margin-bottom: .25rem margin-bottom: .25rem
} }
.h1 { .h1, .h2, .h3, .h4, .h5, .h6 {
font-size: 1.75rem; color: #000;
margin-bottom: .5rem font-family: "Open Sans Semi-Bold", sans-serif;
} font-weight: 600;
line-height: 1.125em;
.h2 { margin-bottom: .25rem
font-size: 1.5rem
}
.h3 {
font-size: 1.25rem
}
.h4, .ui-dialog .ui-dialog-titlebar .ui-dialog-title {
font-size: 1.125rem
}
.h5, .h6 {
font-size: 1rem
} }
.rug-iframe__maps--container { .rug-iframe__maps--container {

View File

@ -108,6 +108,7 @@ body:not(a):not(a):not(a) *, html * {
.rug-nav-item.rug-nav-item.rug-nav-item.rug-nav-item a { .rug-nav-item.rug-nav-item.rug-nav-item.rug-nav-item a {
color: #fff; color: #fff;
white-space: nowrap;
} }
.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active a, .rug-nav-item-active.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active a,
@ -130,6 +131,7 @@ body:not(a):not(a):not(a) *, html * {
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 700; font-weight: 700;
position: relative; position: relative;
max-width: 300px;
} }
.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active, .rug-nav-item-active.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active.rug-nav-item-active,