static/style.css

Tue, 20 Jun 2017 09:37:43 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 20 Jun 2017 09:37:43 +0300
changeset 22
3d094a804af8
parent 21
6a0394d5a159
child 30
a5bfd99bc2a3
permissions
-rw-r--r--

lisää muutoksia

*
{
	font-family: FreeSans, helvetica, Arial, sans-serif;
}
body
{
	background: white;
	color: black;
	margin: 0;
	padding: 0;
	font-size: 24pt;
}
a
{
	color: inherit;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}
h1
{
	margin: 0;
	padding-top: 10pt;
	padding-bottom: 20pt;
	text-align: center;
	/* font-variant: small-caps; */
	font-weight: normal;
	background: #dc9e00;
	/*background: linear-gradient(to bottom, #dc9e00 0%,#eaaf19 49%,#dc9e00 92%,#906700 100%);*/
	/* background: linear-gradient(to bottom, #dcbb00 0%,#eacb19 49%,#dcbb00 92%,#906700 100%); */
	background: linear-gradient(to bottom, #ffd90f 0%, #ffd90f 95%, #906700 100%);
	/*color: white;*/
	color: black;
	vertical-align: middle;
}
h1 img, h1 span
{
	vertical-align: middle;
}

.aikataulu
{
	margin: auto;
	margin-bottom: 30pt;
	min-width: 50%;
	border: 1px solid gray;
}

.sarake-aika, .sarake-linja
{
	text-align: center;
}

td, th, body
{
	font-size: 24pt;
}

.aikataulu th, .aikataulu td
{
	padding-left: 40pt;
	padding-right: 40pt;
	padding-bottom: 10px;
	padding-top: 10px;
}

.aikataulu tr td
{
	border-top: 1px solid gray;
	background-color: rgba(0, 0, 0, 0.05);
}

.aikataulu tr:nth-child(even)
{
	background-color: rgba(0, 0, 0, 0.1);
}

.aikataulu tr.yö td
{
	/*
	background-color: #d8d8ff;
	color: #008;
	border-bottom: 1px solid #00A;
	*/
	/*
	background-color: #004;
	color: #bef;
	border-top: 1px solid #008;
	*/
	background-color: rgba(0, 0, 192, 0.25);
	color: #22A;
	border-top: 1px solid #00A;
}

.aikataulu th
{
	background: #ffd90f;
}

#pysäkki-info
{
	text-align: center
}

.pysäkki-sijainti
{
	font-size: smaller;
}

.sarake-pysäkki
{
	text-align: center;
}

p
{
	text-align: center
}

/* --- Navigointipalkki -- */
.tab-bar
{
	margin: 0;
	width: 100%;
	overflow: hidden;
	background: #906700;
	display: flex;
	justify-content: space-between;
}

.tab-bar button
{
	background: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
	color: white;
	font-size: 22pt;
}

.tab-bar button.active
{
	font-weight: bold;
}

nav
{
	box-shadow: 0px 0px 10px black;
	margin-bottom: 30pt;
}

mercurial