static/style.css

Wed, 28 Jun 2017 12:20:05 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 28 Jun 2017 12:20:05 +0300
changeset 31
60045b362d71
parent 30
a5bfd99bc2a3
child 37
5da3315058a2
permissions
-rw-r--r--

- Ajovuoroa ei enää esitetä kahdessa välilehdessä vaan puukuvaimessa
- gtfs.zip ei enää tarvitse avata

*
{
	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-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.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);
}

mercurial