completed structural changes

- Application thumbnail now flexes above the description when it cannot
fit on the right
- Converted some measures that still used px to rem
- Removed commented-out style rules
This commit is contained in:
Daniel J. Summers 2017-10-05 07:31:23 -05:00
parent 6b1455b73f
commit ecfd96e2bc
3 changed files with 41 additions and 38 deletions

View File

@ -50,16 +50,21 @@ header, h1, h2, h3, footer a {
}
h1 {
text-align: center;
margin: 21px 0;
margin: 1.4rem 0;
font-size: 2rem;
}
h2 {
margin: 19px 0;
margin: 1.2rem 0;
}
h3 {
margin: 1rem 0;
}
h2, h3 {
width: 80%;
border-bottom: solid 2px navy;
}
p {
margin: 16px 0;
margin: 1rem 0;
}
#content {
margin: 0 1rem;
@ -70,7 +75,6 @@ p {
@media all and (min-width: 68rem) {
.content {
width: 66rem;
justify-content: space-around;
}
}
.hdr {
@ -126,10 +130,6 @@ footer {
footer a:link, footer a:visited {
color: black;
}
/*footer a:hover {
border-bottom: none;
color: maroon;
}*/
.alignleft {
float:left;
padding-right: 5px;

View File

@ -1,5 +1,5 @@
<template lang="pug">
article.content
div
page-title(:title='pageTitle')
h1.
{{ application.name }}
@ -8,19 +8,19 @@
#[a(v-if='application.active || application.linkInactive' :href='application.url') {{ application.url }}]
#[span(v-if='!application.active && !application.linkInactive') {{ application.url }}]
</small></small>
div.app-info
aside: img(:src='imageLink')
article.content
p(v-for='(p, idx) in application.paragraphs' :key='idx' v-html='p')
p(v-for='(act, idx) in application.activity' :key='idx' :act='act')
strong {{ act.heading }}
| &nbsp;&ndash;&nbsp;
span(v-html='act.narrative')
template(v-if='application.quotes')
hr
strong What They Say
div(v-for='(act, idx) in application.activity' :key='idx' :act='act')
h3 {{ act.heading }}
p(v-html='act.narrative')
div(v-if='application.quotes')
h3 What They Say
blockquote
p.quote(v-html='application.quotes.full')
p.source.
&mdash; #[strong {{ application.quotes.name }}], {{ application.quotes.from }}
&mdash; #[strong.app-info-heading {{ application.quotes.name }}], {{ application.quotes.from }}
p(v-for='(p, idx) in application.footnotes' :key='idx' v-html='p')
p
br
@ -54,20 +54,23 @@ export default {
h1 {
line-height: 1.6rem;
}
.app-info {
display: flex;
flex-flow: row-reverse wrap;
justify-content: center;
}
aside {
float: right;
width: auto;
padding-left: 15px;
}
aside img {
border: solid 3px #3A1D00;
border: dotted 1px darkgray;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
blockquote {
border-left: solid 1px #3A1D00;
border-left: solid 1px darkgray;
margin-left: 25px;
padding-left: 15px;
}

View File

@ -155,7 +155,7 @@ export default {
</script>
<style>
article.content {
.home article.content {
margin: auto;
}
@media all and (min-width: 80rem) {