scaffolding.less 876 Bytes
Newer Older
1
//
2
// Scaffolding
3
// --------------------------------------------------
Jacob Thornton's avatar
Jacob Thornton committed
4

5

6
// Body reset
7
// -------------------------
Jacob Thornton's avatar
Jacob Thornton committed
8
9

body {
10
  margin: 0;
11
12
13
  font-family: @baseFontFamily;
  font-size: @baseFontSize;
  line-height: @baseLineHeight;
Mark Otto's avatar
Mark Otto committed
14
  color: @textColor;
15
  background-color: @bodyBackground;
Jacob Thornton's avatar
Jacob Thornton committed
16
17
}

18

19
// Links
20
// -------------------------
Jacob Thornton's avatar
Jacob Thornton committed
21
22

a {
23
  color: @linkColor;
Jacob Thornton's avatar
Jacob Thornton committed
24
  text-decoration: none;
25
26
27
28
}
a:hover {
  color: @linkColorHover;
  text-decoration: underline;
Jacob Thornton's avatar
Jacob Thornton committed
29
}
30
31
32
33
34


// Images
// -------------------------

Mark Otto's avatar
Mark Otto committed
35
// Rounded corners
36
37
38
39
.img-rounded {
  .border-radius(6px);
}

Mark Otto's avatar
Mark Otto committed
40
// Add polaroid-esque trim
41
42
43
44
45
.img-polaroid {
  padding: 4px;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.2);
46
  .box-shadow(0 1px 3px rgba(0,0,0,.1));
47
48
}

Mark Otto's avatar
Mark Otto committed
49
// Perfect circle
50
.img-circle {
Mark Otto's avatar
Mark Otto committed
51
  .border-radius(500px); // crank the border-radius so it works with most reasonably sized images
52
}