Template:Portal.css

Revision as of 11:08, 25 July 2022 by Q.Aelius.Volusus (talk | contribs) (Greek -> English)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
#firstHeading {
	display:none;
}
#portal_header {
	background: linear-gradient(to bottom, #fff, #e8f2f8);
	border-bottom: solid 1px #a8d7fc;
	margin-bottom: 1rem;
}
#portal_ribbon {
	background: url("https://upload.wikimedia.org/wikipedia/commons/e/e9/Greek_Roman_Laurel_wreath_vector.svg") no-repeat -55px -05px;
	background-size: 300px 300px;
	padding: 1.5rem 1rem 1rem;
	font-family: 'Open Sans', Sans-serif;
}
#portal_block-title {
	display: inline-block;
	margin-left: 14rem;
	margin-bottom: 1rem;
	text-align: left;
	line-height: 1.6;
	color: #457;
}
#portal_block-title > h2 {
	margin: 0;
	padding: 0;
	border: none;
	font-size: 200%;
	font-weight: bold;
	font-family: 'Open Sans', Sans-serif;
	color: #457;
}
#portal_block-title > p {
	margin: 0;
	padding: 0;
	font-size: 95%;
}
#portal_block-link {
	text-align: center;
	font-size: 90%;
	font-weight: bold;
}
#portal_block-link-mobile {
	margin-bottom: 1rem;
}


#portal_content:after {
	clear: both;
	display: table;
	content: '';
}

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

.portal_frame h2 {
	letter-spacing: 0.01em;
	border-bottom: solid 0.2rem #bdd8fb;
	margin: -0.4rem 0 0.5rem;
}
.portal_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;
}
.portal_footer {
	padding: 1.3em 0 0;
	font-size: 85%;
	text-align: right;
}

.infomain {
	background-color:#f6fafd;
}

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