forked from ICSpark/projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.css
121 lines (96 loc) · 1.85 KB
/
project.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
/*
* This is the stylesheet for Nonogram Puzzle, adapted from a project I completed when I was a student (just like you!)
*
* Feel free to dig around after you are done with the JavaScript practice.
* Most of the things here should look familiar and can be changed to create nonogram puzzles of different sizes.
*
* - Michelle
*/
body {
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
text-align: center;
}
h1 {
font-size: 26pt;
margin-bottom: 40px;
}
.box {
border: 1px solid #111;
}
.box:hover {
box-shadow: 0px 0px 3px 3px #111;
cursor: pointer;
}
.box, .col-num-box, .row-num-box {
line-height: 24pt;
}
.box, .col-num-box, #empty-square, #left-nums, #top-nums {
float: left;
}
.clear, #left-nums, #puzzle {
clear: both;
}
.col-num-box, #top-nums {
border-left: 1px solid black;
border-right: 1px solid black;
}
#empty-square {
border-top: 3px solid black;
background-color: #111;
}
#clear {
font-size: 18pt;
margin-top: 20px;
padding: 5px;
}
.filled {
background-color: #000;
}
#grid {
border: 1px solid #000;
border-right: 2px solid #000;
display: table;
}
#puzzle {
display: inline-block;
}
.left-row, .row-num-box {
float: right;
}
#left-nums, .left-row {
border-top: 1px solid #000;
border-bottom: 1px solid #000;
}
#left-nums, #empty-square {
border-left: 3px solid #000;
}
#top-nums {
border-top: 3px solid #000;
}
.thick-right-border {
border-right: 2px solid black;
}
.thick-top-border {
border-top: 2px solid black;
}
.horizontal-divider {
border-bottom: 2px solid black;
}
.vertical-divider {
border-left: 2px solid black;
}
.five #left-nums, .five .left-row, .five #empty-square {
width: 210px;
}
.five .box, .five .col-num-box, .five .row-num-box {
width: 70px;
height: 70px;
line-height: 70px;
}
.five #empty-square {
height: 210px;
}
.five {
font-size: 18pt;
}