changed template
This commit is contained in:
parent
cf35a70809
commit
1487275ddf
475
index.html
475
index.html
@ -11313,8 +11313,8 @@
|
||||
let count = 0;
|
||||
|
||||
for (textContent of headings) {
|
||||
t += `<div class="collumns">
|
||||
<div class="collumn" id='section${++count}'>`;
|
||||
t += `<div class="columns">
|
||||
<div class="column" id='section${++count}'>`;
|
||||
let snippets = Object.values(textContent.contents).sort((c, d) => c.rank < d.rank);
|
||||
t += `<div class="head"><span class="headline hl3">${textContent.title}</span></div>`;
|
||||
for (snips of snippets) {
|
||||
@ -11385,327 +11385,218 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>RanchiMall Content Collaboration Output</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700;1,900&family=Poppins:wght@400;500;600;700&display=swap"
|
||||
rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Droid Serif', serif;
|
||||
font-size: 14px;
|
||||
color: #2f2f2f;
|
||||
background-color: #f9f7f1;
|
||||
}
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
header {
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-weight: 900;
|
||||
font-size: 80px;
|
||||
text-transform: uppercase;
|
||||
display: inline-block;
|
||||
line-height: 72px;
|
||||
margin-bottom: 20px;
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
body {
|
||||
font-family: 'lora', serif;
|
||||
font-size: 16px;
|
||||
color: #2f2f2f;
|
||||
background-color: #f9f7f1;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
header {
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-weight: 900;
|
||||
text-align: center;
|
||||
font-size: 4rem;
|
||||
text-transform: uppercase;
|
||||
padding: 1rem 0;
|
||||
letter-spacing: 6;
|
||||
}
|
||||
|
||||
.head {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
p {
|
||||
margin: 1.2rem 0;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
p:not(:first-of-type)::first-letter {
|
||||
margin-left: 4rem;
|
||||
}
|
||||
|
||||
}
|
||||
#homepage{
|
||||
display: grid;
|
||||
}
|
||||
.content{
|
||||
display: grid;
|
||||
max-width: calc(100% - 2.4rem);
|
||||
}
|
||||
|
||||
.headerobjectswrapper {}
|
||||
.head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
}
|
||||
|
||||
.subhead {
|
||||
text-transform: uppercase;
|
||||
border-bottom: 2px solid #2f2f2f;
|
||||
border-top: 2px solid #2f2f2f;
|
||||
padding: 12px 0 12px 0;
|
||||
.subhead {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-transform: uppercase;
|
||||
padding: 0.6rem 0;
|
||||
}
|
||||
|
||||
}
|
||||
.subhead::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 10%;
|
||||
height: 0.1rem;
|
||||
background: #2f2f2f;
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
word-spacing: -.31em;
|
||||
display: inline-block;
|
||||
margin: 30px 2% 0 15%;
|
||||
.columns {
|
||||
padding-top: 2rem;
|
||||
display: grid;
|
||||
width: calc(100% - 3rem);
|
||||
grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
|
||||
}
|
||||
|
||||
.column {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.8;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0 1.5rem;
|
||||
width: calc(100% - 3rem);
|
||||
}
|
||||
|
||||
}
|
||||
.column .headline {
|
||||
text-align: center;
|
||||
line-height: normal;
|
||||
font-family: 'lora', serif;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.collumns {}
|
||||
.column .headline.hl1 {
|
||||
font-weight: 700;
|
||||
font-size: 30px;
|
||||
text-transform: uppercase;
|
||||
padding: 0.8rem 0;
|
||||
|
||||
.collumn {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
width: 80%;
|
||||
display: inline-block;
|
||||
padding: 0 1% 0 1%;
|
||||
vertical-align: top;
|
||||
margin-bottom: 50px;
|
||||
-webkit-transition: all .7s;
|
||||
transition: all .7s;
|
||||
}
|
||||
}
|
||||
|
||||
.collumn+.collumn {
|
||||
border-left: 1px solid #2f2f2f;
|
||||
}
|
||||
.column .headline.hl2 {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
padding: 0.8rem 0;
|
||||
}
|
||||
|
||||
.collumn .headline {
|
||||
text-align: center;
|
||||
line-height: normal;
|
||||
font-family: 'Playfair Display', serif;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
.column .headline.hl2:before {
|
||||
border-top: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 7px;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.column .headline.hl2:after {
|
||||
border-bottom: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 13px;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.collumn .headline.hl1 {
|
||||
font-weight: 700;
|
||||
font-size: 30px;
|
||||
text-transform: uppercase;
|
||||
padding: 10px 0 30px 0;
|
||||
.column .headline.hl3 {
|
||||
font-weight: 400;
|
||||
font-size: 36px;
|
||||
padding: 0.8rem 0;
|
||||
font-style: italic;
|
||||
font-family: 'Playfair Display', serif;
|
||||
}
|
||||
|
||||
}
|
||||
.column .headline.hl4 {
|
||||
font-weight: 500;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.8rem 0;
|
||||
}
|
||||
|
||||
.collumn .headline.hl2 {
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
font-size: 24px;
|
||||
box-sizing: border-box;
|
||||
padding: 10px 0 30px 0;
|
||||
}
|
||||
.column .headline.hl4:before {
|
||||
border-top: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 7px;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.collumn .headline.hl2:before {
|
||||
border-top: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 7px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.column .headline.hl4:after {
|
||||
border-bottom: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 10px;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
|
||||
.collumn .headline.hl2:after {
|
||||
border-bottom: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 13px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
}
|
||||
/*________________________________________________________________________________________________________________________________*/
|
||||
/*MEDIAQUERIES*/
|
||||
|
||||
.collumn .headline.hl3 {
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
font-size: 36px;
|
||||
box-sizing: border-box;
|
||||
padding: 10px 0 30px 0;
|
||||
}
|
||||
@media all and (max-width: 640px) {
|
||||
header {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.collumn .headline.hl4 {
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
padding: 10px 0 30px 0;
|
||||
}
|
||||
|
||||
.collumn .headline.hl4:before {
|
||||
border-top: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 7px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.collumn .headline.hl4:after {
|
||||
border-bottom: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 10px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
|
||||
}
|
||||
|
||||
.collumn .headline.hl5 {
|
||||
font-weight: 400;
|
||||
font-size: 42px;
|
||||
text-transform: uppercase;
|
||||
font-style: italic;
|
||||
box-sizing: border-box;
|
||||
padding: 10px 0 10px 0;
|
||||
}
|
||||
|
||||
.collumn .headline.hl6 {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
box-sizing: border-box;
|
||||
padding: 10px 0 10px 0;
|
||||
}
|
||||
|
||||
.collumn .headline.hl6:before {
|
||||
border-top: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 7px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.collumn .headline.hl6:after {
|
||||
border-bottom: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 10px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
|
||||
}
|
||||
|
||||
.collumn .headline.hl7 {
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
padding: 10px 0 10px 0;
|
||||
}
|
||||
|
||||
.collumn .headline.hl8 {
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
padding: 10px 0 10px 0;
|
||||
}
|
||||
|
||||
.collumn .headline.hl9 {
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
padding: 10px 0 10px 0;
|
||||
}
|
||||
|
||||
.collumn .headline.hl10 {
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
padding: 10px 0 10px 0;
|
||||
}
|
||||
|
||||
.collumn .citation {
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-size: 36px;
|
||||
line-height: 44px;
|
||||
/*font-style: italic;*/
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
display: block;
|
||||
margin: 40px 0 40px 0;
|
||||
font-feature-settings: "liga", "dlig";
|
||||
|
||||
}
|
||||
|
||||
.collumn .citation:before {
|
||||
border-top: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 16px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.collumn .citation:after {
|
||||
border-bottom: 1px solid #2f2f2f;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 16px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.collumn .figure {
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
.collumn .figcaption {
|
||||
font-style: italic;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.media {
|
||||
-webkit-filter: sepia(80%) contrast(1) opacity(0.8);
|
||||
filter: sepia(80%) grayscale(1) contrast(1) opacity(0.8);
|
||||
mix-blend-mode: multiply;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*________________________________________________________________________________________________________________________________*/
|
||||
/*MEDIAQUERIES*/
|
||||
@media only all and (max-width: 1300px) {
|
||||
.weatherforcastbox {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only all and (max-width: 1200px) {
|
||||
.collumn {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only all and (max-width: 900px) {
|
||||
.collumn {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only all and (max-width: 600px) {
|
||||
.collumn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.collumn+.collumn {
|
||||
border-left: none;
|
||||
border-bottom: 1px solid #2f2f2f;
|
||||
}
|
||||
|
||||
header {
|
||||
max-width: 320px;
|
||||
font-size: 36px;
|
||||
line-height: 54px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 30px 6% 0 5%;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
@media all and (min-width: 640px){
|
||||
body{
|
||||
margin: 0 12vw;
|
||||
}
|
||||
.columns{
|
||||
margin: 0 2vw;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 1280px){
|
||||
body{
|
||||
margin: 0 20vw;
|
||||
}
|
||||
.columns{
|
||||
margin: 0 2vw;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 1920px){
|
||||
body{
|
||||
margin: 0 32vw;
|
||||
}
|
||||
.columns{
|
||||
margin: 0 4vw;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body translate="no">
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900,400italic,700italic,900italic|Droid+Serif:400,700,400italic,700italic"
|
||||
rel="stylesheet" type="text/css">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<div class="head">
|
||||
<div class="headerobjectswrapper">
|
||||
|
||||
<div class="headerobjectswrapper">
|
||||
<header id='title'>${Object.keys(floGlobals.appObjects[cloudArticleApp.SUBJECT])[0]}</header>
|
||||
</div>
|
||||
<div class="subhead" id='subtitle'>Exported by RanchiMall Content Collaboration on FLO Blockchain</div>
|
||||
</div>
|
||||
<div class="content" id='sectionmaster'>`;
|
||||
t += `${mid_section}`;
|
||||
t += `</div>
|
||||
</div>
|
||||
<div class="subhead" id='subtitle'>Exported by RanchiMall Content Collaboration on FLO Blockchain</div>
|
||||
</div>
|
||||
<div class="content" id='sectionmaster'>`;
|
||||
t += `${mid_section}`;
|
||||
t += `</div>
|
||||
</body>
|
||||
</html>`;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user