/* Default rules for the body of every page */
body {
- font-family: 'Helvetica Neue',Arial,sans-serif;
font-size: $typeheight;
- line-height: 1.6666;
- color: #222;
- background-color: #fff;
- margin: 0px;
- padding: 0px;
- text-align: left;
- height: 100%;
}
p > img {
display: none;
}
+ #sidebar_content {
+ padding: $spacer;
+ }
+
> div {
position: relative;
float: left;
}
h2 {
- padding: $lineheight $lineheight $lineheight/2;
font-size: 1.5rem;
}
margin-left: auto;
margin-right: auto;
}
+
+ > div {
+ padding: $spacer;
+ }
}
#sidebar {
/* Rules for routing */
-#sidebar_content>table {
- padding: 5px 20px 10px 15px;
- width: 100%;
- border-collapse: separate;
- border-spacing: 0;
-}
-
div.direction {
background-image: image-url('routing-sprite.png');
width: 20px;
div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
}
-p#routing_summary {
- padding: 0 $lineheight $lineheight/4;
-}
-
td.instruction, td.distance {
padding-top: $lineheight/5;
padding-bottom: $lineheight/5;
#sidebar_content {
.browse-section {
- padding: $lineheight/2 $lineheight;
+ padding-bottom: $spacer;
+ margin-bottom: $spacer;
border-bottom: 1px solid $grey;
h4:first-child {
margin: 0 0 10px 10px;
}
- .query-intro p {
- padding: $lineheight $lineheight $lineheight/2;
- }
-
.query-results {
display: none;
- padding-bottom: $lineheight/2;
-
- h3 {
- padding: 0 $lineheight;
- }
ul {
li {
/* Rules for export sidebar */
.export_form {
- padding: $lineheight;
-
.export_area_inputs,
.export_button {
text-align: center;
}
}
-/* Rules for the routing sidebar */
-
-#sidebar_content {
- #routing_credit {
- text-align: center;
- padding: 0.5em;
- }
-}
-
/* Rules for edit pages */
.site-edit {
.content-inner {
position: relative;
- max-width: 900px;
+ max-width: 960px;
margin: auto;
padding: $lineheight;
}
/* Overrides for pages that use new layout conventions */
-.users-new,
-.users-create,
-.users-terms,
-.users-confirm {
- .content-heading .content-inner {
- height: 200px;
- }
-}
-
.header-illustration {
background-position: 0 0;
background-repeat: no-repeat;
- position: absolute;
- height: 200px;
+ position: relative;
+ min-height: 200px;
width: 100%;
left: 0;
bottom: 0;
&.new-user-arm {
height: 110px;
width: 130px;
- left: 260px;
- top: 160px;
+ left: 280px;
+ top: 180px;
background-image: image-url("sign-up-illustration-arm.png");
+ position: absolute;
z-index: 100;
}
}
&.notice {
background-color: #CBEEA7;
}
-
- div.message {
- display: inline-block;
- margin-left: $lineheight / 2;
- vertical-align: middle;
-
- p {
- margin-top: $lineheight * 0.5;
- margin-bottom: $lineheight * 0.5;
-
- &:first-child {
- margin-top: 0px;
- }
-
- &:last-child {
- margin-bottom: 0px;
- }
- }
- }
}
/* Rules for highlighting fields with rails validation errors */
text-align: center;
}
-/* Utility for managing inner content areas */
-
-.inner22 { padding: $lineheight;}
-
-.inner12 { padding: $lineheight/2 $lineheight;}
-
-.inner11 { padding: $lineheight/2;}
-
-.inner20 { padding: $lineheight 0;}
-
-.inner02 { padding: 0 $lineheight;}
-
.buttons {
min-width: 200px;
input[type="submit"],
}
}
-.diary_post .richtext {
- margin-top: $lineheight;
- }
-
.comments .richtext {
margin-left: 70px;
- margin-top: 0;
}
/* Rules for the user notes list */
background-size: cover;
background-attachment: fixed;
-
.content-inner {
- position: relative;
- color: #333;
- min-width: 320px;
- max-width: 640px;
- }
-
- .text {
- background: white;
- padding: 40px;
+ max-width: 760px;
}
.attr {
- position: relative;
- padding: 170px 40px 20px;
- background: #333;
- background: rgba(0, 0, 0, .8);
- margin-bottom: 0;
margin-top: -20px;
h1 {
- display: block;
- color: white;
- font-weight: 300;
- font-size: 28px;
span {
color: $vibrant-green;
}
}
- @include media-breakpoint-up(sm) {
- h1 {
- font-size: 34px;
- }
- }
-
.user-image {
- position: absolute;
- top: 0px;
- right: 240px;
- left: 0px;
height: 150px;
background-position: 0 50%;
background-repeat: no-repeat;
}
.byosm {
- position: absolute;
- top: 0px;
- right: 0px;
- z-index: 1;
- width: 240px;
- height: 150px;
- padding: 20px 20px 20px 40px;
- font: 500 20px/24px Helvetica, Arial, sans-serif;
- white-space: nowrap;
- color: #fff;
background: $vibrant-green;
}