-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.less
More file actions
82 lines (71 loc) · 1.38 KB
/
main.less
File metadata and controls
82 lines (71 loc) · 1.38 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
/*
* Stylesheet compiled from less source.
*/
@radius: 10px;
@theme: #046;
@shade: lighten(desaturate(@theme, 50%), 70%);
@darker: darken(@theme, 3%);
@lighter: lighten(@theme, 20%);
.rounded-corners(@r: @radius) {
moz-border-radius: @r;
webkit-border-radius: @r;
border-radius: @r;
border-spacing: 0;
border: 1px solid @theme;
}
html {
background-color: @theme;
}
body {
margin: 0 10%;
padding-top: 50px;
padding-bottom: 50px;
padding-left: 6%;
background-color: white;
color: @darker;
}
h1, h2, h3, h4, h5, h6 {
color: @lighter;
}
h2 {
padding-top: 20px;
padding-bottom: 0px;
}
p {
margin: 10px 20px;
}
// Used to ensure the width of the first column is the same width for
// all tables.
.first-column {
width: 15%;
}
table {
.rounded-corners;
margin: 0;
padding: 0;
width: 95%;
tr {
padding: 0;
margin: 0;
vertical-align: top;
th, td {
text-align: left;
padding: 3px 10px;
}
th {
color: white;
background-color: @darker;
&:first-child { border-top-left-radius: @radius }
&:last-child { border-top-right-radius: @radius }
}
&:nth-child(even) { background-color: @shade; }
&:last-child {
td:first-child { border-bottom-left-radius: @radius }
td:last-child { border-bottom-right-radius: @radius }
}
}
}
.copyright {
font-size: smaller;
text-align: center;
}