aligning text-logos and header with flexbox

This commit is contained in:
awesomerobot 2015-08-03 21:03:11 -04:00
parent 3d7a2b4788
commit 2ad2ab503f
6 changed files with 26 additions and 10 deletions

View File

@ -13,6 +13,11 @@
.contents { .contents {
margin: 8px 0; margin: 8px 0;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
} }
.title { .title {
@ -34,8 +39,11 @@
} }
.panel { .panel {
float: right;
position: relative; position: relative;
margin-left: auto;
-ms-flex-order: 3;
order: 3;
} }
.login-button, button.sign-up-button { .login-button, button.sign-up-button {

View File

@ -261,6 +261,12 @@ table.md-table {
} }
.small-action { .small-action {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
.topic-avatar { .topic-avatar {
padding: 5px 0; padding: 5px 0;
border-top: none; border-top: none;
@ -274,8 +280,7 @@ table.md-table {
} }
.small-action-desc { .small-action-desc {
padding: 0.5em 0 0.5em 4em; padding: 0 1.5%;
margin-top: 5px;
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: bold;
font-size: 0.9em; font-size: 0.9em;
@ -287,7 +292,7 @@ table.md-table {
font-weight: normal; font-weight: normal;
font-size: 14px; font-size: 14px;
p { p {
margin: 5px 0; margin: 0;
} }
} }
@ -298,7 +303,6 @@ table.md-table {
> p { > p {
margin: 0; margin: 0;
padding-top: 4px;
} }
} }

View File

@ -27,11 +27,12 @@
} }
.extra-info-wrapper { .extra-info-wrapper {
-ms-flex-order: 2;
order: 2;
line-height: 1.5;
.badge-wrapper { .badge-wrapper {
float: left; float: left;
&.bullet {
margin-top: 5px;
}
} }
} }

View File

@ -52,8 +52,12 @@
&.bullet { //bullet category style &.bullet { //bullet category style
display: -ms-inline-flexbox;
display: inline-flex; display: inline-flex;
-ms-flex-align: center;
align-items: baseline; align-items: baseline;
margin-right: 10px; margin-right: 10px;
span.badge-category { span.badge-category {

View File

@ -8,7 +8,7 @@
padding-top: 3px; padding-top: 3px;
height: 60px; height: 60px;
.fa-home { .fa-home {
padding:8px; padding: 0 8px 0 0;
font-size: 2.1em; font-size: 2.1em;
} }
} }

View File

@ -11,7 +11,6 @@
// some protection for text-only site titles // some protection for text-only site titles
.title { .title {
max-width: 130px; max-width: 130px;
height: 39px;
overflow: hidden; overflow: hidden;
padding: 0; padding: 0;
text-overflow: clip; text-overflow: clip;