static/style.css

Sun, 02 Jul 2017 16:14:56 +0300

author
teemu
date
Sun, 02 Jul 2017 16:14:56 +0300
changeset 42
0b53b7c70875
parent 39
42a6276cf6d1
child 55
0f1d046b3f78
permissions
-rw-r--r--

Näytä myös aikataulut jotka ovat minuutti sitten menneet

*
{
	font-family: FreeSans, helvetica, Arial, sans-serif;
}
body
{
	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 90%, #AA7700 100%);
	/*color: white;*/
	color: black;
	vertical-align: middle;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
h1 img, h1 span
{
	vertical-align: middle;
}

.aikataulu
{
	margin: auto;
	margin-bottom: 30pt;
	min-width: 50%;
	/*min-width: 85%;*/
	border: 1px solid gray;
	border-radius: 30px 30px 0 0;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.aikataulu th:first-child
{
	border-radius: 30px 0 0 0;
}

.aikataulu th:last-child
{
	border-radius: 0 30px 0 0;
}

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

.sarake-aika
{
	text-align: right;
}

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

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

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

.aikataulu tr:first-child td
{
	border-top: none;
}

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

.aikataulu tr.yö td
{
	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;
}

.nested-schedule
{
	width: 100%;
	border: 1px solid gray;
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.imminent-leave
{
	color: #C0660B;
	vertical-align: middle;
	animation: blinker steps(1) 500ms infinite alternate;
	opacity: 0;
	animation: blinking 2s linear infinite;
}

.yö .imminent-leave
{
	color: inherit;
}

@keyframes blinking
{
	from, 24.9%
	{
		opacity: 0;
	}
	25%, to {
		opacity: 1;
	}
}

mercurial