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 {
margin: 8px 0;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
}
.title {
@ -34,8 +39,11 @@
}
.panel {
float: right;
position: relative;
margin-left: auto;
-ms-flex-order: 3;
order: 3;
}
.login-button, button.sign-up-button {

View File

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

View File

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

View File

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

View File

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

View File

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