Template:Block.css

From Imperivm Romanvm
Revision as of 16:21, 27 July 2022 by Procurator-Imperii-Romani (talk | contribs) (Change subeading slightly)
Jump to navigation Jump to search
#info_content:after {
	clear: both;
	display: table;
	content: '';
}

.info_frame {
	box-shadow: 0 0 0.3rem #999;
	border-radius: 0.2rem;
	padding: 1.2rem;
    margin-bottom: 1rem;
} 

.info_frame .heading {
	font-family: 'Linux Libertine','Georgia','Times',serif;
	font-weight: normal;
	font-size: 1.5em;
	letter-spacing: 0.01em;
	border-bottom: solid 0.2rem #bdd8fb;
	margin: -0.4rem 0 0.5rem;
}

.info_frame .subheading {
	font-family: 'Linux Libertine','Georgia','Times',serif;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 0.008em;
	border-bottom: solid 0.1rem #bdd8fb;
	margin: -0.4rem 0 0.5rem;
}
.info_frame-dummyh2 {
	font-family: 'Linux Libertine','Georgia','Times',serif;
	font-size: 1.3em; 
	letter-spacing: 0.01em; 
	border-bottom: solid 0.15rem #bdd8fb; 
	margin: -0.4rem 0 0.5rem;
}
.info_frame_footer {
	padding: 1.3em 0 0;
	font-size: 85%;
	text-align: right;
}

.infomain {
	background-color:#f6fafd;
}

@media (min-width: 982px) {
	#info_content {
		display: flex;
	}
	#info_content .info-left,
	#info_content .info-right {
		display: flex;
		flex-direction: column;
	}
	#info_content .info-right {
		min-width:40%;
	} 
	.info_frame:nth-child(1) {
		flex-grow: 1;
	}
	.info_frame:nth-child(2) {
		flex-grow: 2;
	}
	.info_frame:nth-child(3) {
		flex-grow: 3;
	}
	.info-left .info_frame {
		margin-right:1rem;
	}
}