-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
206 lines (180 loc) · 3.89 KB
/
style.css
File metadata and controls
206 lines (180 loc) · 3.89 KB
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
body {
background-color: rgb(245, 245, 245);
font-family: "Courier New", serif;
font-size: 20px;
}
/* uvodne besede */
.zacetek {
text-align: center;
font-size: 20px;
font-family: "Courier New", serif;
font-weight: normal;
font-variant: normal;
width: 1000px;
display: block;
align-items: center;
margin-left: 17%;
margin-right: 25%;
}
#mokot {
text-align: right;
font-size: 16px;
font-family: "Courier New", serif;
}
#mokot2 {
text-align: right;
font-size: 16px;
font-family: "Courier New", serif;
position: absolute;
bottom: 10px;
right: 10px;
}
#tictactoe, #pozor, #konec {
font-size: 27px;
font-weight: bold;
color: #d92626;
}
#navodila {
width: 850px;
text-align: left;
margin-left: 25%;
}
#navodila span {
font-size: 23px;
font-weight: bold;
text-align: center;
}
input[type="text"] {
text-align: center;
font-size: 16px;
font-family: "Courier New", serif;
height: 25px;
background-color: rgb(245, 245, 245);
border: 1px solid black;
display: inline-block;
}
input[type="text"]:hover, input[type="text"]:active {
border: 0;
}
input[type="button"] {
text-align: center;
font-size: 18px;
font-family: "Courier New", serif;
height: 37px;
width: 255px;
background-color: rgb(245, 245, 245);
border: 1px solid black;
display: inline-block;
}
input[type="button"]:hover {
border: 0;
color: #d92626;
font-weight: bold;
font-size: 20px;
}
input[type="button"]:active {
border: 0;
color: #d92626;
font-weight: bold;
font-size: 18px;
}
#igralnoPolje {
display: none;
}
table {
border-collapse: collapse;
position: absolute;
left: 50%;
top: 12%;
margin-left: -17%;
margin-right: 20%;
}
td {
border: 3px solid #d92626;
border-radius: 25%;
height: 175px;
width: 175px;
text-align: center;
vertical-align: middle;
font-family: "Courier New", serif;
font-weight: bold;
cursor: pointer; /* naredi nam kazalec miske */
}
/* izbris zunanjih crt */
table tr:first-child td{
border-top: 0;
}
table tr:last-child td {
border-bottom: 0;
}
table tr td:first-child {
border-left: 0;
}
table tr td:last-child {
border-right: 0;
}
/* sprememba barve polja, ko se pokaze miska */
table td:hover {
background-color: rgba(217, 38, 38, 0.15);
}
table td:active {
background-color: rgba(217, 38, 38, 0.3);
}
.celica {
font-size: 150px;
font-family: "Courier New", serif;
font-weight: normal;
}
/* zmagovalec */
.zmagovalec {
display: none;
width: 550px;
height: 200px;
font-weight: normal;
background-color: rgba(217, 38, 38, 0.3);
position: absolute;
left: 50%;
margin-left: -18.5%;
margin-right: 18.5%;
top: 30%;
padding-top: 50px;
padding-bottom: 30px;
padding-left: 15px;
padding-right: 15px;
z-index: 2;
border-radius: 10px;
text-align: center;
vertical-align: middle;
font-size: 25px;
color: rgb(26, 26, 26);
}
#zmagovalec {
font-size: 30px;
font-weight: bold;
text-decoration: inherit;
font-family: "Courier New", serif;
}
#ponovnaIgra {
width: 215px;
height: 60px;
text-align: center;
font-size: 25px;
color: rgb(26, 26, 26);
font-family: "Courier New", serif;
vertical-align: middle;
border-radius: 5px;
background-color: rgba(245, 245, 245, 0);
border: 1px solid black;
}
#ponovnaIgra:hover {
border: 0;
font-size: 27px;
border: 0;
background-color: rgba(217, 38, 38, 0.6);
}
#ponovnaIgra:active {
border: 0;
font-size: 25px;
border: 0;
background-color: rgba(217, 38, 38, 0.95);
}