Welcome to mirror list, hosted at ThFree Co, Russian Federation.

scaffolding.less « less - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 649b5f94c8cb827b773108c800a08eea9332de81 (plain)
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
//
// Scaffolding
// --------------------------------------------------


// Body reset
// -------------------------

body {
  margin: 0;
  color: @text-color;
  background-color: @body-background;
}

// Reset fonts for revelant elements
body,
input,
button,
select,
textarea {
  font-family: @font-family-base;
  font-size: @font-size-base;
  line-height: @line-height-base;
}


// Links
// -------------------------

a {
  color: @link-color;
  text-decoration: none;
}
a:hover {
  color: @link-color-hover;
  text-decoration: underline;
}


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

// Rounded corners
.img-rounded {
  border-radius: 6px;
}

// Add polaroid-esque trim
.img-polaroid {
  padding: 4px;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.2);
  .box-shadow(0 1px 3px rgba(0,0,0,.1));
}

// Perfect circle
.img-circle {
  border-radius: 500px; // crank the border-radius so it works with most reasonably sized images
}