-
Notifications
You must be signed in to change notification settings - Fork 0
/
books.css
130 lines (114 loc) · 2.68 KB
/
books.css
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
/* The navigation bar */
.navbar {
overflow: hidden;
background-color: #333;
position: fixed; /* Set the navbar to fixed position */
top: 0; /* Position the navbar at the top of the page */
width: 100%; /* Full width */
}
/* Links inside the navbar */
.navbar a {
float: left;
display: block;
font-style: italic;
font-size: 24px;
font-weight: bold;
color: #948473;
text-align: center;
padding: 14px 16px;
text-decoration: none;
width: 20%;
}
/* Change background on mouse-over */
.navbar a:hover {
background: #4a9e13;
color: black;
}
/* Main content */
.main {
float: left;
margin-top: 80px; /* Add a top margin to avoid content overlay */
margin: 30px;
width: 100%;
}
.title {
margin-top: 50px;
text-align: center;
color: rgb(31, 148, 128);
font-size: large;
}
.intro {
margin: 0 auto;
width: 70%;
}
table.mainTable {
width: 50%;
text-align: left;
margin: 0 auto;
border-collapse: collapse;
margin-bottom: 40px;
}
/* Center each element except the left column*/
table.mainTable td:nth-child(n+2), th:nth-child(n+2) {
text-align: center;
}
table.mainTable th {
padding: 5px;
background-color: rgb(31, 148, 128);
}
table.maintable tr, td {
padding: 4px;
border-bottom: 1px solid rgb(31, 148, 128);
}
/* Main books table
table.mainTable {
border: 6px solid #948473;
background-color: #FFE3C6;
width: 70%;
text-align: center;
margin: 0 auto;
}
table.mainTable th {
padding: 4px;
border-bottom: 1px solid #948473;
}
table.mainTable td {
padding: 4px 4px;
border-bottom: 1px solid #948473;
}
table.mainTable tbody td {
font-size: 13px;
}
table.mainTable thead {
background: #948473;
background: -moz-linear-gradient(top, #afa396 0%, #9e9081 66%, #948473 100%);
background: -webkit-linear-gradient(top, #afa396 0%, #9e9081 66%, #948473 100%);
background: linear-gradient(to bottom, #afa396 0%, #9e9081 66%, #948473 100%);
}
table.mainTable thead th {
font-size: 17px;
font-weight: bold;
color: #F0F0F0;
text-align: left;
border-left: 2px solid #948473;
}
table.mainTable thead th:first-child {
border-left: none;
}
table.mainTable tfoot {
font-size: 16px;
font-weight: bold;
color: #F0F0F0;
background: #948473;
background: -moz-linear-gradient(top, #afa396 0%, #9e9081 66%, #948473 100%);
background: -webkit-linear-gradient(top, #afa396 0%, #9e9081 66%, #948473 100%);
background: linear-gradient(to bottom, #afa396 0%, #9e9081 66%, #948473 100%);
}
table.mainTable tfoot td {
font-size: 160px;
}
*/