aboutsummaryrefslogtreecommitdiff
path: root/data/assets/styles.css
blob: f0e8ef53e7c4e24c64eda3c3601e95c9d571d809 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
body {
    font-family: serif;
	line-height: 1.6;
    background-color: #2D353B;
    color: #D3C6AA;
	max-width: 80rem;
	margin: auto;
}

h1 {
	text-align: center;
}

a {
    color: #7FBBB3;
    text-decoration: none;
    background-color: transparent;
}

a:hover, a:focus {
    text-decoration: none; 
    background-color: #7FBBB3;
    color: #2D353B; 
}

table {	
    width: 90%;
    border-collapse: collapse;
    margin: 12px auto;
	font-size: 1em;
}

tr { 
    margin-bottom: 10px; 
}

tr:nth-child(odd) {
        background-color: #343F44; /* Light gray for odd rows */
}

tr:hover {
    background-color: #3D484D; /*  hover effect for table rows */
}

th, td {
    padding: 10px;
    border: 2px solid #475258;
	text-align: left; 
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

th {
    text-align: center;
	font-size: 1.1em;
}

.container {
    max-width: 800px; 
    margin: auto;
    padding: 12px;
}

@media screen and (max-width: 600px) {
    body {
        font-size: 90%; 
    }

    table { 
		width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        display: block;
        text-align: left;
		white-space: normal;
    }
	
    tr {
        display: flex; 
        flex-direction: column; 
    }

}