-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
127 lines (107 loc) · 2.15 KB
/
styles.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
body {
font-family: helvetica;
background-color: #EEEEEE;
margin: 40px auto;
padding: 20px 50px;
line-height: 1.4;
font: 18px;
text-align: center;
max-width: 1200px;
}
*:not(a):not(button)::selection { /* '*' means everything */
background: gold;
}
a::selection, button::selection {
background: none;
}
a, a.element {
background-color: #EEEEEE;
font-style: oblique;
text-decoration: none;
color: black;
border: 1px solid grey;
padding: 10px;
transition: 0.5s;
}
a.buy:hover, a.sell:hover, .continue:hover {
background-color: gray;
color: white;
transition: 0.5s;
}
a.buy, a.sell {
display: block;
color: black;
padding: 8px 16px;
text-decoration: none;
}
h2 {
text-decoration: underline;
}
table {
border-collapse: collapse;
background-color: lightgrey;
display: table;
border: 1px solid black;
margin-left: auto;
margin-right: auto;
}
#armySubmit {
margin-left: auto;
margin-right: auto;
}
td, th {
padding: 5px;
text-align: center;
border: 1px solid black;
}
div.tab {
overflow: hidden;
border: 2px solid grey;
background-color: #EEEEEE;
transition: 0.5s;
}
div.tab button {
background-color: #EEEEEE;
float: left;
border: 1px solid black;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.5s;
font-size: 17px;
}
div.tab button.tab_element:hover, div.resources_tab button, button:not(.tab_element) {
background-color: white;
color: black;
transition: 0.5s;
}
div.tab button.tab_element.active {
background-color: #222222;
color: white;
}
div.tab_content {
border: 2px solid black;
min-height: 1000px;
height: flex;
padding-bottom: 50px;
}
#hiddenDiv, #hidden, #armySubmit, .hidden, .element_row:not(#e0), .armyNode, .selectNode, #selected, .army_row:not(#a0), .upgrade_row:not(#default_row), .shop_content:not(.default), .tab_content:not(.default), .resource_content:not(.default) {
display: none;
}
table.resource_table {
display: table;
float: left;
text-align: center;
padding-left: 50px;
margin-left: 30px;
}
.resource_table tr:nth-child(even), #upgrades_table tr:nth-child(even){
background-color: #EEEEEE;
}
li {
text-align: left;
}
h3.producer_header {
font-size: 120%;
padding-left: 30px;
}