-
Notifications
You must be signed in to change notification settings - Fork 3
/
Masonry.css
150 lines (137 loc) · 3.23 KB
/
Masonry.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/**
* This CSS file supplements MediaWiki:Common.css
* Currently, this file only has the Masonry-specific CSS
* This controls how the blocks behave
*/
/**
* This first section is a web kit feature used to round the corners,
* but it also has a slight effect on the vector skin tabs (Read, Edit, etc)
* by making part of the division lines not appear.
{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*/
body { font-family: sans-serif; }
.masonry {
max-width: 2800px;
}
.masonry .item {
float: left;
}
/* item is invisible, but used for layout */
.item,
.item-content {
/* background: #eee;*/
}
.item {width: 300px;
border: none;
background: transparent;
margin: 0px 10px 10px 0px;
}
.item.w2 { width: 610px; }
/* item-content is visible, and transitions size */
.item-content {
/* Commented out height so blocks can be different sized heights */
/* height: 200px;*/
width: 100%;
padding: 0px 0px 0px 0px;
/* background: #eee;*/
border: 0px solid #333;
border-color: hsla(0, 0%, 0%, 0.5);
/* Commented out rounded corners
border-radius: 10px;
-webkit-transition: width 0.4s, height 0.4s;
-moz-transition: width 0.4s, height 0.4s;
-o-transition: width 0.4s, height 0.4s;
transition: width 0.4s, height 0.4s;
*/
}
/* COMMENTED OUT HOVER COLOR CHANGING
.item:hover .item-content {
border-color: white;
background: #A2C;
cursor: pointer;
}*/
/* COMMENTED OUT RESIZING FUNCTIONALITY
.item.is-expanded,
.item.is-expanded .item-content {
width: 620px;
}
.item.is-expanded {
z-index: 2;
}
.item.is-expanded .item-content {
background: #F90;
}
*/
/* Boxes like "Featured Article", "Random OCAD" and "Tutorials" on main page, default is green */
table.main-page-box {
width: 100%;
border: 1px solid #cef2e0;
background: #f5fffa;
margin: 0 1% 0 0;
padding: 5px;
}
table.main-page-box th {
color: black;
padding: 10px 7px 10px 7px;
background: #cef2e0;
border: 1px solid #a3bfb1;
text-align: left;
font-size: 130%;
}
table.main-page-box td {
padding: 8px 2px 0px 2px;
font-size: 110%;
vertical-align: top;
}
table.main-page-box-green {
border: 1px solid #cef2e0;
background: #f5fffa;
}
table.main-page-box-green th {
background: #cef2e0;
border: 1px solid #a3bfb1;
}
table.main-page-box-orange {
border: 1px solid #ffcc99;
background: #fff5eb;
}
table.main-page-box-orange th {
background: #ffc299;
border: 1px solid #cc5200;
}
table.main-page-box-yellow {
background: #FFFBCC;
border: 1px solid #FFF25A;
}
table.main-page-box-yellow th {
background: #FFF582;
border: 1px solid #FFF25A;
}
table.main-page-box-blue {
border: 1px solid #cedff2;
background: #f5faff;
}
table.main-page-box-blue th {
background: #cedff2;
border: 1px solid #a3b0bf;
}
table.main-page-box-white {
border: 1px solid #aaaaaa;
background: #f7f7fb;
}
table.main-page-box-white th {
background: #eeeeee;
border: 1px solid #cccccc;
}
table.main-page-box-purple {
border: 1px solid #9988aa;
background: #f7f7fb;
}
table.main-page-box-purple th {
background: #9999cc;
border: 1px solid #9988cc;
}