aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/cgit.less
blob: dd06ead3259b952004f4151d3b45d8785d545c5b (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
@import 'include/common';
@import 'include/components';

.content > table {
  width: 100%;
}

.main {
  &:extend(.title-header);

  display: block;
}

.logo {
  width: 0;
  padding: 0;

  > a {
    position: absolute;
    top: 10px;
    left: 10px;
  }
}

.pager {
  .listless-list();

  margin: 0;
  padding: 0;
  text-align: center;
  padding-bottom: 5px;

  li {
    padding: 5px 10px;
  }
}

.reposection {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.sub {
  &:extend(.subtitle);

  display: block;
}

.tabs {
  width: 100%;

  a {
    padding: 5px 10px;
    margin: 0;

    &.active {
      background-color: @dark-background-highlight;
    }
  }

  .form {
    width: 0;
    white-space: nowrap;
  }
}

#cgit {
  &:extend(.content-wrapper);

  position: relative;
}

#header {
  width: 100%;

  &, tbody, tr, td {
    display: block;
    margin: 0;
    border: 0;
  }
}