scaffolding.less 954 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
14
15
16
17
18
19
20
  color: @textColor;
  background-color: @bodyBackground;
}

// Reset fonts for revelant elements
body,
input,
button,
select,
textarea {
21
22
23
  font-family: @baseFontFamily;
  font-size: @baseFontSize;
  line-height: @baseLineHeight;
Jacob Thornton's avatar
Jacob Thornton committed
24
25
}

26

27
// Links
28
// -------------------------
Jacob Thornton's avatar
Jacob Thornton committed
29
30

a {
31
  color: @linkColor;
Jacob Thornton's avatar
Jacob Thornton committed
32
  text-decoration: none;
33
34
35
36
}
a:hover {
  color: @linkColorHover;
  text-decoration: underline;
Jacob Thornton's avatar
Jacob Thornton committed
37
}
38
39
40
41
42


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

Mark Otto's avatar
Mark Otto committed
43
// Rounded corners
44
.img-rounded {
45
  border-radius: 6px;
46
47
}

Mark Otto's avatar
Mark Otto committed
48
// Add polaroid-esque trim
49
50
51
52
53
.img-polaroid {
  padding: 4px;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.2);
54
  .box-shadow(0 1px 3px rgba(0,0,0,.1));
55
56
}

Mark Otto's avatar
Mark Otto committed
57
// Perfect circle
58
.img-circle {
59
  border-radius: 500px; // crank the border-radius so it works with most reasonably sized images
60
}