scaffolding.less 965 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;
Mark Otto's avatar
Mark Otto committed
11
12
  color: @text-color;
  background-color: @body-background;
13
14
15
16
17
18
19
20
}

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

26

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

a {
Mark Otto's avatar
Mark Otto committed
31
  color: @link-color;
Jacob Thornton's avatar
Jacob Thornton committed
32
  text-decoration: none;
33
34
}
a:hover {
Mark Otto's avatar
Mark Otto committed
35
  color: @link-color-hover;
36
  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
}