Fix the About page quote text-align on different screen sizes. (#14)
Chrome is the new Explorer. Fix the About page quote text-align on different screen sizes. Reviewed-by: jeff <jeff@simplesystems.tech>
This commit is contained in:
parent
b8d344b94f
commit
23c32f44e5
@ -10,14 +10,13 @@
|
||||
<div class="col">
|
||||
<div class="card text-center">
|
||||
<div class="row align-center">
|
||||
<div class="col xs-12 sm-content">
|
||||
<div class="col xs-12 sm-shrink">
|
||||
<img src="/img/rocket.png" width="150" height="150">
|
||||
</div>
|
||||
|
||||
<div class="col xs-12 sm-grow">
|
||||
<p class="mb-0">“Any darn fool can make something complex;<br>It takes a genius to make something simple.”</p>
|
||||
<br>
|
||||
<p class="ml-5">-- Albert Einstein</p>
|
||||
<div class="col xs-12 sm-grow" style="flex-basis: auto !important;">
|
||||
<p class="mb-0 text-center text-sm-left">“Any darn fool can make something complex;<br>It takes a genius to make something simple.”</p>
|
||||
<p class="text-center text-sm-right">-- Albert Einstein</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -71,13 +71,12 @@ hr, hr.light {
|
||||
.col.shrink { flex: 0 0 auto !important }
|
||||
@media (min-width: 600px) {
|
||||
.col.sm-content { flex-basis: content !important }
|
||||
.col.sm-grow { flex-grow: 1 !important; flex-basis: 0 !important; }
|
||||
.col.sm-shrink { flex: 0 0 auto !important; }
|
||||
.col.sm-grow { flex: 1 0 0 !important; width: auto !important; }
|
||||
.col.sm-shrink { flex: 0 0 auto !important; width: auto !important; }
|
||||
.col.sm-6 { width: 50% !important }
|
||||
.col.sm-9 { width: 75% !important }
|
||||
.col.sm-10 { width: 83.3334% !important }
|
||||
|
||||
.text-sm-center { text-align: center !important; }
|
||||
.justify-sm-center { justify-content: center !important; }
|
||||
}
|
||||
@media (min-width: 950px) {
|
||||
@ -105,8 +104,14 @@ hr, hr.light {
|
||||
.align-center { align-items: center !important }
|
||||
.justify-center { justify-content: center !important }
|
||||
.justify-end { justify-content: end !important }
|
||||
|
||||
.text-center { text-align: center !important }
|
||||
.text-right { text-align: right !important }
|
||||
@media (min-width: 600px) {
|
||||
.text-sm-left { text-align: left !important }
|
||||
.text-sm-center { text-align: center !important }
|
||||
.text-sm-right { text-align: right !important }
|
||||
}
|
||||
|
||||
.title { font-size: 1.25rem }
|
||||
.headline { font-size: 1.5rem }
|
||||
|
Loading…
Reference in New Issue
Block a user