changed spacing and font size

This commit is contained in:
sairaj mote 2020-08-06 16:49:14 +05:30
parent 886f5fc0f3
commit 1f7179bc9f
2 changed files with 284 additions and 310 deletions

View File

@ -3,102 +3,123 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>RanchiMall Content Collaboration Output</title> <title>RanchiMall Content Collaboration Output</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://use.fontawesome.com/41cc35d596.js"></script>
<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> <style>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.hide {
display: none;
}
body { body {
font-family: 'Droid Serif', serif; font-family: 'lora', serif;
font-size: 14px; font-size: 16px;
color: #2f2f2f; color: #2f2f2f;
margin: 0 1.5rem;
background-color: #f9f7f1; background-color: #f9f7f1;
} }
header { header {
font-family: 'Playfair Display', serif; font-family: 'Playfair Display', serif;
font-weight: 900; font-weight: 900;
font-size: 80px; width: 100%;
text-align: center;
font-size: 4rem;
text-transform: uppercase; text-transform: uppercase;
display: inline-block; padding: 1rem 0;
line-height: 72px; letter-spacing: 6;
margin-bottom: 20px;
} }
p { p {
margin-top: 0; margin: 1.2rem 0;
margin-bottom: 20px; }
p::first-letter{
margin-left: 4rem;
} }
.head { .head {
display: flex;
flex-direction: column;
text-align: center; text-align: center;
justify-content: center;
position: relative; position: relative;
margin-bottom: 1rem;
} }
.headerobjectswrapper {}
.subhead { .subhead {
display: flex;
flex-direction: column;
align-items: center;
text-transform: uppercase; text-transform: uppercase;
border-bottom: 2px solid #2f2f2f; padding: 0.6rem 0;
border-top: 2px solid #2f2f2f; }
padding: 12px 0 12px 0; .subhead::after{
content: '';
position: absolute;
bottom: 0;
width: 10%;
height: 0.1rem;
background: #2f2f2f;
} }
.content { .weatherforcastbox {
font-size: 0; position: relative;
line-height: 0; width: 12%;
word-spacing: -.31em; left: 10px;
display: inline-block; border: 3px double #2f2f2f;
margin: 30px 2% 0 15%; padding: 10px 15px 10px 15px;
}
.collumns {}
.collumn {
font-size: 14px;
line-height: 20px; line-height: 20px;
width: 80%;
display: inline-block; display: inline-block;
padding: 0 1% 0 1%; margin: 0 50px 20px -360px;
}
.columns {
padding-top: 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
}
.column {
font-size: 1.2rem;
line-height: 1.9;
display: flex;
flex-direction: column;
vertical-align: top; vertical-align: top;
margin-bottom: 50px; margin-bottom: 4rem;
-webkit-transition: all .7s;
transition: all .7s;
} }
.collumn+.collumn { .column .headline {
border-left: 1px solid #2f2f2f;
}
.collumn .headline {
text-align: center; text-align: center;
line-height: normal; line-height: normal;
font-family: 'Playfair Display', serif; font-family: 'lora', serif;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl1 { .column .headline.hl1 {
font-weight: 700; font-weight: 700;
font-size: 30px; font-size: 30px;
text-transform: uppercase; text-transform: uppercase;
padding: 10px 0 30px 0; padding: 0.8rem 0;
} }
.collumn .headline.hl2 { .column .headline.hl2 {
font-weight: 400; font-weight: 400;
font-style: italic;
font-size: 24px; font-size: 24px;
box-sizing: border-box;
padding: 10px 0 30px 0; padding: 0.8rem 0;
} }
.collumn .headline.hl2:before { .column .headline.hl2:before {
border-top: 1px solid #2f2f2f; border-top: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -107,7 +128,7 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl2:after { .column .headline.hl2:after {
border-bottom: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -117,22 +138,21 @@
} }
.collumn .headline.hl3 { .column .headline.hl3 {
font-weight: 400; font-weight: 400;
font-style: italic;
font-size: 36px; font-size: 36px;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 30px 0; font-style: italic;
font-family: 'Playfair Display', serif;
} }
.collumn .headline.hl4 { .column .headline.hl4 {
font-weight: 700; font-weight: 500;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 30px 0;
} }
.collumn .headline.hl4:before { .column .headline.hl4:before {
border-top: 1px solid #2f2f2f; border-top: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -141,7 +161,7 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl4:after { .column .headline.hl4:after {
border-bottom: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -151,23 +171,20 @@
} }
.collumn .headline.hl5 { .column .headline.hl5 {
font-weight: 400; font-weight: 400;
font-size: 42px; font-size: 42px;
text-transform: uppercase; text-transform: uppercase;
font-style: italic; padding: 0.8rem 0;
box-sizing: border-box;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl6 { .column .headline.hl6 {
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl6:before { .column .headline.hl6:before {
border-top: 1px solid #2f2f2f; border-top: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -176,46 +193,41 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl6:after { .column .headline.hl6:after {
border-bottom: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
height: 10px; height: 10px;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl7 { .column .headline.hl7 {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box;
display: block; display: block;
padding: 10px 0 10px 0; padding: 0.8rem 0;
} }
.collumn .headline.hl8 { .column .headline.hl8 {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl9 { .column .headline.hl9 {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl10 { .column .headline.hl10 {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .citation { .column .citation {
font-family: 'Playfair Display', serif; font-family: 'Playfair Display', serif;
font-size: 36px; font-size: 36px;
line-height: 44px; line-height: 44px;
@ -225,10 +237,9 @@
display: block; display: block;
margin: 40px 0 40px 0; margin: 40px 0 40px 0;
font-feature-settings: "liga", "dlig"; font-feature-settings: "liga", "dlig";
} }
.collumn .citation:before { .column .citation:before {
border-top: 1px solid #2f2f2f; border-top: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -237,7 +248,7 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .citation:after { .column .citation:after {
border-bottom: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -246,13 +257,13 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .figure { .column .figure {
margin: 0 0 20px; margin: 0 0 20px;
} }
.collumn .figcaption { .column .figcaption {
font-style: italic; font-style: italic;
font-size: 12px; font-size: 0.9rem;
} }
.media { .media {
@ -264,57 +275,46 @@
/*________________________________________________________________________________________________________________________________*/ /*________________________________________________________________________________________________________________________________*/
/*MEDIAQUERIES*/ /*MEDIAQUERIES*/
@media only all and (max-width: 1300px) { @media all and (max-width: 1280px) {
.weatherforcastbox { .weatherforcastbox {
display: none; display: none;
} }
} }
@media only all and (max-width: 1200px) { @media all and (max-width: 640px) {
.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 { header {
max-width: 320px; font-size: 2.5rem;
font-size: 36px;
line-height: 54px;
overflow: hidden;
} }
}
.content { @media all and (min-width: 640px){
margin: 30px 6% 0 5%; 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> </style>
</head> </head>
<body translate="no"> <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="head">
<div class="headerobjectswrapper"> <div class="headerobjectswrapper">
<header id='title'>Political History of Bengal</header> <header id='title'>Political History of Bengal</header>
@ -322,8 +322,8 @@
<div class="subhead" id='subtitle'>Exported by RanchiMall Content Collaboration on FLO Blockchain</div> <div class="subhead" id='subtitle'>Exported by RanchiMall Content Collaboration on FLO Blockchain</div>
</div> </div>
<div class="content" id='sectionmaster'> <div class="content" id='sectionmaster'>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section1'> <div class="column" id='section1'>
<div class="head"><span class="headline hl3">From Murshid to Mamata: A Political History of <div class="head"><span class="headline hl3">From Murshid to Mamata: A Political History of
Bengal</span></div> Bengal</span></div>
<p>Murshid Quli Khan was the first Nawab of Bengal.  <p>Murshid Quli Khan was the first Nawab of Bengal. 
@ -489,8 +489,8 @@
</p> </p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section2'> <div class="column" id='section2'>
<div class="head"><span class="headline hl3">Hooghly, Calcutta, 2020, Painting Hooghly with words-Build <div class="head"><span class="headline hl3">Hooghly, Calcutta, 2020, Painting Hooghly with words-Build
background and bridge to Writers Building</span></div> background and bridge to Writers Building</span></div>
<p>For the traveler with limited time, the best way to explore Calcutta is roughly to trace the route of <p>For the traveler with limited time, the best way to explore Calcutta is roughly to trace the route of
@ -516,8 +516,8 @@
The building, as of today, has been under renovation since October 2013.</p> The building, as of today, has been under renovation since October 2013.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section3'> <div class="column" id='section3'>
<div class="head"><span class="headline hl3">Writers Building, 2020, Calcutta, Painting Writers</span> <div class="head"><span class="headline hl3">Writers Building, 2020, Calcutta, Painting Writers</span>
</div> </div>
<p>The Writers Building is currently under renovation since 2013.  <p>The Writers Building is currently under renovation since 2013. 
@ -525,8 +525,8 @@
will become the next occupant of the chair in Writers Building</p> will become the next occupant of the chair in Writers Building</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section4'> <div class="column" id='section4'>
<div class="head"><span class="headline hl3">Chief Minster Cabin, Calcutta, 2021, Painting the process <div class="head"><span class="headline hl3">Chief Minster Cabin, Calcutta, 2021, Painting the process
who will sit here-painting Chief Minister Cabin-Bridge to current occupant</span></div> who will sit here-painting Chief Minister Cabin-Bridge to current occupant</span></div>
<p>Next year in sometime between March and June of 2021, about 67 million registered voters will chose <p>Next year in sometime between March and June of 2021, about 67 million registered voters will chose
@ -536,8 +536,8 @@
by a frail but fiestly lady who has never married Mamata Baneerjee.</p> by a frail but fiestly lady who has never married Mamata Baneerjee.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section5'> <div class="column" id='section5'>
<div class="head"><span class="headline hl3">Mamata Banerji, Calcutta, 2020, Profile about current <div class="head"><span class="headline hl3">Mamata Banerji, Calcutta, 2020, Profile about current
occupant-one interesting fact from her life to trigger - like being unmarried</span></div> occupant-one interesting fact from her life to trigger - like being unmarried</span></div>
<p>As a young firebrand 29 year old, she caught attention of political pundits by defeating a stalwart <p>As a young firebrand 29 year old, she caught attention of political pundits by defeating a stalwart
@ -553,8 +553,8 @@
killings.</p> killings.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section6'> <div class="column" id='section6'>
<div class="head"><span class="headline hl3">Hooghly-Origin of Calcutta, Calcutta, 1690, go back to <div class="head"><span class="headline hl3">Hooghly-Origin of Calcutta, Calcutta, 1690, go back to
start how Calcutta was created in British times</span></div> start how Calcutta was created in British times</span></div>
<p>Establishment of Calcutta, now called as Kolkata in modern independent India, was a long and messy <p>Establishment of Calcutta, now called as Kolkata in modern independent India, was a long and messy
@ -577,8 +577,8 @@
Hooghly, Bengal.</p> Hooghly, Bengal.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section7'> <div class="column" id='section7'>
<div class="head"><span class="headline hl3">Aurangzeb, Dhaka, 1690, Explain State of Mughal affairs - <div class="head"><span class="headline hl3">Aurangzeb, Dhaka, 1690, Explain State of Mughal affairs -
and how Bengal became independent country</span></div> and how Bengal became independent country</span></div>
<p>Emperor Aurangzeb was the one sitting on throne during the major period of tension and conflict <p>Emperor Aurangzeb was the one sitting on throne during the major period of tension and conflict
@ -616,8 +616,8 @@
drive out the British from the area and capture all their factories and assets.</p> drive out the British from the area and capture all their factories and assets.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section8'> <div class="column" id='section8'>
<div class="head"><span class="headline hl3">Murshid Quli Khan, Murshidabad, 1707-1717, Go upriver to <div class="head"><span class="headline hl3">Murshid Quli Khan, Murshidabad, 1707-1717, Go upriver to
Murshidabad-Explain how the richest country in the world is born</span></div> Murshidabad-Explain how the richest country in the world is born</span></div>
<p>The historical city of Murshidabad-the earstwhile nawabi capital a city founded in the year 1704 by <p>The historical city of Murshidabad-the earstwhile nawabi capital a city founded in the year 1704 by
@ -645,16 +645,16 @@
by the nawab.</p> by the nawab.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section9'> <div class="column" id='section9'>
<div class="head"><span class="headline hl3">Alivardi Khan, Murshidabad, 1717-1756, continuation of <div class="head"><span class="headline hl3">Alivardi Khan, Murshidabad, 1717-1756, continuation of
Murshid Story-Alivardi was last strong man Britishers feared in Bengal</span></div> Murshid Story-Alivardi was last strong man Britishers feared in Bengal</span></div>
<p>Alivardi Khan was the last strongman in Bengal whom the foreign powers feared. After his death, in <p>Alivardi Khan was the last strongman in Bengal whom the foreign powers feared. After his death, in
1956, the dorrs to the paramount power in Bengal subah reopened.</p> 1956, the dorrs to the paramount power in Bengal subah reopened.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section10'> <div class="column" id='section10'>
<div class="head"><span class="headline hl3">Battle Theme- Sheikh Mujibur Rehman-Bangladesh, Bangladesh, <div class="head"><span class="headline hl3">Battle Theme- Sheikh Mujibur Rehman-Bangladesh, Bangladesh,
1971-1975, Creation of Bangladesh and Pakistan role in Bengal till Sheikh Mujibur Rehman was 1971-1975, Creation of Bangladesh and Pakistan role in Bengal till Sheikh Mujibur Rehman was
assassinated-Bridge to his daugher Sheikh Haseena</span></div> assassinated-Bridge to his daugher Sheikh Haseena</span></div>
@ -807,8 +807,8 @@
province during Britsh times.</p> province during Britsh times.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section11'> <div class="column" id='section11'>
<div class="head"><span class="headline hl3">Sheikh Haseena, Dhaka-Bangladesh, 2020, Regeneration to be <div class="head"><span class="headline hl3">Sheikh Haseena, Dhaka-Bangladesh, 2020, Regeneration to be
the fast growing region in the world-Bridge to Mamata</span></div> the fast growing region in the world-Bridge to Mamata</span></div>
<p>Sheikh Hasina was sworn in as prime minister of Bangladeh in January 2009. In 2017, in the midst of <p>Sheikh Hasina was sworn in as prime minister of Bangladeh in January 2009. In 2017, in the midst of
@ -840,8 +840,8 @@
to last long.</p> to last long.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section12'> <div class="column" id='section12'>
<div class="head"><span class="headline hl3">Mamata Banerji, Calcutta, 2020, Another aspect of her life- <div class="head"><span class="headline hl3">Mamata Banerji, Calcutta, 2020, Another aspect of her life-
a short event - Bridge to her political predecessor system Communism and Jyoti Basu</span></div> a short event - Bridge to her political predecessor system Communism and Jyoti Basu</span></div>
<p>The dynamics of democratic politics in West Bengal, a major state of eastern India had taken its own <p>The dynamics of democratic politics in West Bengal, a major state of eastern India had taken its own
@ -866,8 +866,8 @@
development, is likely to suffer adverse consequences in the longer term.</p> development, is likely to suffer adverse consequences in the longer term.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section13'> <div class="column" id='section13'>
<div class="head"><span class="headline hl3">Jyoti Basu-Communism, West Bengal, 1977-2000, Impact of <div class="head"><span class="headline hl3">Jyoti Basu-Communism, West Bengal, 1977-2000, Impact of
Communism in Bengal-Bridge to Cornwallis Permanent Settlement</span></div> Communism in Bengal-Bridge to Cornwallis Permanent Settlement</span></div>
<p>The ripple effects of Russian revolution in 1917 reached British India that was fighting against a <p>The ripple effects of Russian revolution in 1917 reached British India that was fighting against a
@ -912,8 +912,8 @@
land reforms programs in India.</p> land reforms programs in India.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section14'> <div class="column" id='section14'>
<div class="head"><span class="headline hl3">Cornwallis, Bengal, 1790-1800, Permanent Settlement System <div class="head"><span class="headline hl3">Cornwallis, Bengal, 1790-1800, Permanent Settlement System
and how it impacted West Bengal</span></div> and how it impacted West Bengal</span></div>
<p>From time Immemorial the State in India has claimed a certain proportion of the produce of every <p>From time Immemorial the State in India has claimed a certain proportion of the produce of every
@ -1014,8 +1014,8 @@
source was generally fixed at one-sixth of the produce.</p> source was generally fixed at one-sixth of the produce.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section15'> <div class="column" id='section15'>
<div class="head"><span class="headline hl3">William Bentick, Bengal, 1828-1835, Bentick social <div class="head"><span class="headline hl3">William Bentick, Bengal, 1828-1835, Bentick social
reforms</span></div> reforms</span></div>
<p>Lord William Bentinck was born in London, the second son of the 3rd Duke of Portland. He was educated <p>Lord William Bentinck was born in London, the second son of the 3rd Duke of Portland. He was educated
@ -1069,8 +1069,8 @@
or ritual murder by robber gangs</p> or ritual murder by robber gangs</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section16'> <div class="column" id='section16'>
<div class="head"><span class="headline hl3">Lord Dalhousie, Bengal, 1857, events leading to first war <div class="head"><span class="headline hl3">Lord Dalhousie, Bengal, 1857, events leading to first war
of independence</span></div> of independence</span></div>
<p>Lord Canning 1858 to 1862 <p>Lord Canning 1858 to 1862
@ -1098,8 +1098,8 @@
a system of administration which proved successful in maintaining order.</p> a system of administration which proved successful in maintaining order.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section17'> <div class="column" id='section17'>
<div class="head"><span class="headline hl3">Lord Curzon, Bengal, 1905, partition of Bengal</span></div> <div class="head"><span class="headline hl3">Lord Curzon, Bengal, 1905, partition of Bengal</span></div>
<p>Partition of Bengal, (1905), division of Bengal carried out by the British viceroy in India, Lord <p>Partition of Bengal, (1905), division of Bengal carried out by the British viceroy in India, Lord
Curzon, despite strong Indian nationalist opposition. It began a transformation of the Indian Curzon, despite strong Indian nationalist opposition. It began a transformation of the Indian
@ -1157,8 +1157,8 @@
accompanied by intense violence.</p> accompanied by intense violence.</p>
</div> </div>
</div> </div>
<div class="collumns"> <div class="columns">
<div class="collumn" id='section18'> <div class="column" id='section18'>
<div class="head"><span class="headline hl3">Writers Building-Bidhan Chandra Roy, Calcutta, 1950, <div class="head"><span class="headline hl3">Writers Building-Bidhan Chandra Roy, Calcutta, 1950,
explain his contribution in governing West Bengal</span></div> explain his contribution in governing West Bengal</span></div>
<p>B.C. Roy was a great planner for the improvement of education and culture of West Bengal. Due to the <p>B.C. Roy was a great planner for the improvement of education and culture of West Bengal. Due to the

View File

@ -2,16 +2,26 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RanchiMall Times</title> <title>RanchiMall Times</title>
<script src="https://use.fontawesome.com/41cc35d596.js"></script> <script src="https://use.fontawesome.com/41cc35d596.js"></script>
<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> <style>
hide { *{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.hide {
display: none; display: none;
} }
body { body {
font-family: 'Droid Serif', serif; font-family: 'lora', serif;
font-size: 14px; font-size: 16px;
color: #2f2f2f; color: #2f2f2f;
background-color: #f9f7f1; background-color: #f9f7f1;
} }
@ -19,34 +29,44 @@
header { header {
font-family: 'Playfair Display', serif; font-family: 'Playfair Display', serif;
font-weight: 900; font-weight: 900;
font-size: 80px; width: 100%;
text-align: center;
font-size: 4rem;
text-transform: uppercase; text-transform: uppercase;
display: inline-block; padding: 1rem 0;
line-height: 72px; letter-spacing: 6;
margin-bottom: 20px;
} }
p { p {
margin-top: 0; margin: 1.2rem 0;
margin-bottom: 20px; }
p::first-letter{
margin-left: 4rem;
} }
.head { .head {
display: flex;
flex-direction: column;
text-align: center; text-align: center;
justify-content: center;
position: relative; position: relative;
margin-bottom: 1rem;
} }
.headerobjectswrapper {}
.subhead { .subhead {
display: flex;
flex-direction: column;
align-items: center;
text-transform: uppercase; text-transform: uppercase;
border-bottom: 2px solid #2f2f2f; padding: 0.6rem 0;
border-top: 2px solid #2f2f2f; }
padding: 12px 0 12px 0; .subhead::after{
content: '';
position: absolute;
bottom: 0;
width: 10%;
height: 0.1rem;
background: #2f2f2f;
} }
.weatherforcastbox { .weatherforcastbox {
@ -60,61 +80,46 @@
margin: 0 50px 20px -360px; margin: 0 50px 20px -360px;
} }
.content { .columns {
font-size: 0; padding-top: 2rem;
line-height: 0; display: grid;
word-spacing: -.31em; grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
display: inline-block;
margin: 30px 2% 0 2%;
} }
.collumns {} .column {
font-size: 1.2rem;
.collumn { line-height: 1.8;
font-size: 14px; display: flex;
line-height: 20px; flex-direction: column;
width: 17.5%; padding: 0 1.5rem;
display: inline-block;
padding: 0 1% 0 1%;
vertical-align: top; vertical-align: top;
margin-bottom: 50px; margin-bottom: 4rem;
-webkit-transition: all .7s;
transition: all .7s;
} }
.collumn+.collumn { .column .headline {
border-left: 1px solid #2f2f2f;
}
.collumn .headline {
text-align: center; text-align: center;
line-height: normal; line-height: normal;
font-family: 'Playfair Display', serif; font-family: 'lora', serif;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl1 { .column .headline.hl1 {
font-weight: 700; font-weight: 700;
font-size: 30px; font-size: 30px;
text-transform: uppercase; text-transform: uppercase;
padding: 10px 0 10px 0; padding: 0.8rem 0;
} }
.collumn .headline.hl2 { .column .headline.hl2 {
font-weight: 400; font-weight: 400;
font-style: italic;
font-size: 24px; font-size: 24px;
box-sizing: border-box;
padding: 10px 0 10px 0; padding: 0.8rem 0;
} }
.collumn .headline.hl2:before { .column .headline.hl2:before {
border-top: 1px solid #2f2f2f; border-top: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -123,7 +128,7 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl2:after { .column .headline.hl2:after {
border-bottom: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -133,22 +138,21 @@
} }
.collumn .headline.hl3 { .column .headline.hl3 {
font-weight: 400; font-weight: 400;
font-style: italic;
font-size: 36px; font-size: 36px;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0; font-style: italic;
font-family: 'Playfair Display', serif;
} }
.collumn .headline.hl4 { .column .headline.hl4 {
font-weight: 700; font-weight: 500;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl4:before { .column .headline.hl4:before {
border-top: 1px solid #2f2f2f; border-top: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -157,7 +161,7 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl4:after { .column .headline.hl4:after {
border-bottom: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -167,23 +171,20 @@
} }
.collumn .headline.hl5 { .column .headline.hl5 {
font-weight: 400; font-weight: 400;
font-size: 42px; font-size: 42px;
text-transform: uppercase; text-transform: uppercase;
font-style: italic; padding: 0.8rem 0;
box-sizing: border-box;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl6 { .column .headline.hl6 {
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl6:before { .column .headline.hl6:before {
border-top: 1px solid #2f2f2f; border-top: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -192,46 +193,41 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl6:after { .column .headline.hl6:after {
border-bottom: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
height: 10px; height: 10px;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
} }
.collumn .headline.hl7 { .column .headline.hl7 {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box;
display: block; display: block;
padding: 10px 0 10px 0; padding: 0.8rem 0;
} }
.collumn .headline.hl8 { .column .headline.hl8 {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl9 { .column .headline.hl9 {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .headline.hl10 { .column .headline.hl10 {
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 0.9rem;
box-sizing: border-box; padding: 0.8rem 0;
padding: 10px 0 10px 0;
} }
.collumn .citation { .column .citation {
font-family: 'Playfair Display', serif; font-family: 'Playfair Display', serif;
font-size: 36px; font-size: 36px;
line-height: 44px; line-height: 44px;
@ -241,10 +237,9 @@
display: block; display: block;
margin: 40px 0 40px 0; margin: 40px 0 40px 0;
font-feature-settings: "liga", "dlig"; font-feature-settings: "liga", "dlig";
} }
.collumn .citation:before { .column .citation:before {
border-top: 1px solid #2f2f2f; border-top: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -253,7 +248,7 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .citation:after { .column .citation:after {
border-bottom: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f;
content: ''; content: '';
width: 100px; width: 100px;
@ -262,13 +257,13 @@
margin: 0 auto; margin: 0 auto;
} }
.collumn .figure { .column .figure {
margin: 0 0 20px; margin: 0 0 20px;
} }
.collumn .figcaption { .column .figcaption {
font-style: italic; font-style: italic;
font-size: 12px; font-size: 0.9rem;
} }
.media { .media {
@ -280,44 +275,27 @@
/*________________________________________________________________________________________________________________________________*/ /*________________________________________________________________________________________________________________________________*/
/*MEDIAQUERIES*/ /*MEDIAQUERIES*/
@media only all and (max-width: 1300px) { @media all and (max-width: 1280px) {
.weatherforcastbox { .weatherforcastbox {
display: none; display: none;
} }
} }
@media only all and (max-width: 1200px) { @media all and (max-width: 640px) {
.collumn {
width: 31%;
}
}
@media only all and (max-width: 900px) {
.collumn {
width: 47%;
}
}
@media only all and (max-width: 600px) {
.collumn {
width: 100%;
}
.collumn+.collumn {
border-left: none;
border-bottom: 1px solid #2f2f2f;
}
header { header {
max-width: 320px; font-size: 2.5rem;
font-size: 45px;
line-height: 54px;
overflow: hidden;
} }
}
@media all and (min-width: 640px){
.columns{
margin: 0 2vw;
}
}
@media all and (min-width: 1920px){
.columns{
margin: 0 4vw;
}
} }
</style> </style>
<script> <script>
@ -391,12 +369,12 @@
function renderColumns(parsedarticles){ function renderColumns(parsedarticles){
numberOfColumns = Object.keys(parsedarticles).length numberOfColumns = Object.keys(parsedarticles).length
let collumns = document.getElementById('collumnsmain') let columns = document.getElementById('columnsmain')
//debugger //debugger
let parsedArticlesKeys = Object.keys(parsedarticles) let parsedArticlesKeys = Object.keys(parsedarticles)
for(let i=0; i<parsedArticlesKeys.length; i++){ for(let i=0; i<parsedArticlesKeys.length; i++){
columnhtml = `<div class="collumn" id="column${i+1}" data-articlekey="${parsedArticlesKeys[i]}"> columnhtml = `<div class="column" id="column${i+1}" data-articlekey="${parsedArticlesKeys[i]}">
<div class="head"> <div class="head">
<span class="headline hl3">${parsedarticles[parsedArticlesKeys[i]].title}</span> <span class="headline hl3">${parsedarticles[parsedArticlesKeys[i]].title}</span>
<p><span class="headline hl4">${parsedarticles[parsedArticlesKeys[i]].subtitle}</span></p> <p><span class="headline hl4">${parsedarticles[parsedArticlesKeys[i]].subtitle}</span></p>
@ -409,8 +387,8 @@
</div> </div>
</div>` </div>`
//debugger; //debugger;
//collumns.append(columnhtml) //columns.append(columnhtml)
collumns.innerHTML = collumns.innerHTML + columnhtml columns.innerHTML = columns.innerHTML + columnhtml
//debugger //debugger
} }
@ -425,10 +403,6 @@
</script> </script>
<body translate="no"> <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">
<div id='homepage'> <div id='homepage'>
<title>Newspaper Style Design Experiment</title> <title>Newspaper Style Design Experiment</title>
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
@ -439,9 +413,9 @@
<div class="subhead">Thursday April 30, 2020</div> <div class="subhead">Thursday April 30, 2020</div>
</div> </div>
<div class="content"> <div class="content">
<div class="collumns" id='collumnsmain'> <div class="columns" id='columnsmain'>
<!-- <!--
<div class="collumn" id="column1"> <div class="column" id="column1">
<div class="head"><span class="headline hl3">When darkness overspreads my eyes</span> <div class="head"><span class="headline hl3">When darkness overspreads my eyes</span>
<p><span class="headline hl4">by JOHANN WOLFGANG VON GOETHE</span></p> <p><span class="headline hl4">by JOHANN WOLFGANG VON GOETHE</span></p>
</div> </div>
@ -463,7 +437,7 @@
warm within me, that it might be the mirror of my soul, as my soul is the mirror of the infinite warm within me, that it might be the mirror of my soul, as my soul is the mirror of the infinite
God!</p> God!</p>
</div> </div>
<div class="collumn" id="column2"> <div class="column" id="column2">
<div class="head"><span class="headline hl5">Give people courage</span> <div class="head"><span class="headline hl5">Give people courage</span>
<p><span class="headline hl6">The crowd seemed to grow</span></p> <p><span class="headline hl6">The crowd seemed to grow</span></p>
</div> </div>
@ -490,7 +464,7 @@
thirty yards of the pit, advancing from the direction of Horsell, I noted a little black knot of thirty yards of the pit, advancing from the direction of Horsell, I noted a little black knot of
men, the foremost of whom was waving a white flag.</p> men, the foremost of whom was waving a white flag.</p>
</div> </div>
<div class="collumn" id="column3"> <div class="column" id="column3">
<div class="head"><span class="headline hl1">May the Force be with you</span> <div class="head"><span class="headline hl1">May the Force be with you</span>
<p><span class="headline hl2">Let go your conscious self and act on instinct</span></p> <p><span class="headline hl2">Let go your conscious self and act on instinct</span></p>
</div>Partially, but it also obeys your commands. Hey, Luke! May the Force be with you. I have </div>Partially, but it also obeys your commands. Hey, Luke! May the Force be with you. I have
@ -510,7 +484,7 @@
<p>You don't believe in the Force, do you? Partially, but it also obeys your commands. The plans you <p>You don't believe in the Force, do you? Partially, but it also obeys your commands. The plans you
refer to will soon be back in our hands. As you wish.</p> refer to will soon be back in our hands. As you wish.</p>
</div> </div>
<div class="collumn" id="column4"> <div class="column" id="column4">
<div class="head"><span class="headline hl3">The buzz of the little world </span> <div class="head"><span class="headline hl3">The buzz of the little world </span>
<p><span class="headline hl4">A thousand unknown plants</span></p> <p><span class="headline hl4">A thousand unknown plants</span></p>
</div> </div>
@ -529,7 +503,7 @@
own own
image, and the breath</p> image, and the breath</p>
</div> </div>
<div class="collumn" id="column5"> <div class="column" id="column5">
<div class="head"><span class="headline hl1">It wasn't a dream </span> <div class="head"><span class="headline hl1">It wasn't a dream </span>
<p><span class="headline hl4">by FRANZ KAFKA</span></p> <p><span class="headline hl4">by FRANZ KAFKA</span></p>
</div> </div>