Files
php_xcstat/src/App.css
Peter Hoppe 5e90c2556b layout
2022-12-07 14:35:32 +01:00

128 lines
2.1 KiB
CSS

.App {
text-align: center;
width: 100%;
}
.layout {
width: 100%;
display: flex;
gap: 5px;
}
/* @import url('https://fonts.googleapis.com/css2?family=Lato&display=swap'); */
/* lato-regular - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: url('../fonts/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('../fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Lato', sans-serif;
}
.home,
.flights,
.seasons {
display: flex;
height: 90vh;
align-items: center;
justify-content: center;
font-size: 3rem;
width: 100%;
}
.sort-button {
background-color: transparent;
border: none;
padding: 5px 10px;
margin: 0;
line-height: 1;
font-size: 15px;
color: black;
cursor: pointer;
transition: transform 0.05s ease-out;
}
.sort-reverse {
transform: rotate(180deg);
}
table,
th,
td {
border: thin solid;
}
table{
margin: 0 auto;
}
/* Sortable tables */
table.sortable thead {
background-color:rgb(171, 71, 13);
color:#144514;
font-weight: bold;
cursor: default;
}
body{
background-color: rgba(243, 97, 12, 0.31);
}
table,
th,
td
{
background-color: rgba(243, 97, 12, 0.836);
border: 1px solid rgba(0, 0, 0, 0.8);
padding: 5px;
font-size: 1em;
text-align: center;
white-space: nowrap;
}
h1,h2,h4,p
{
text-align: center;
}
.flexbox
{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
.right
{
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-end;
}
.link
{
font-size: 90%;
}