summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/snippets.scss
blob: 242783a7b7e13b46b94423017d4ba60457f86657 (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
.snippet-form-holder .file-holder .file-title {
  padding: 2px;
}


.snippet-row {
  .snippet-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 2px;

    .monospace {
      font-weight: normal;
    }
  }

  .snippet-info {
    color: #888;
    font-size: 13px;
    line-height: 24px;

    a {
      color: #888;
    }
  }
}

.snippet-holder {
  .snippet-details {
    .page-title {
      margin-top: -15px;
      padding: 10px 0;
      margin-bottom: 0;
      color: #5c5d5e;
      font-size: 16px;

      .author {
        color: #5c5d5e;
      }

      .snippet-id {
        color: #5c5d5e;
      }
    }

    .snippet-title {
      margin: 0;
      font-size: 23px;
      color: #313236;
    }

    @media (max-width: $screen-md-max) {
      .new-snippet-link {
        display: none;
      }
    }

    @media (max-width: $screen-sm-max) {
      .creator,
      .page-title .btn-close {
        display: none;
      }
    }
  }

  .file-holder {
    border-top: 0;
  }
}


.snippet-box {
  @include border-radius(2px);

  display: inline-block;
  padding: 10px $gl-padding;
  font-weight: normal;
  margin-right: 10px;
  font-size: $gl-font-size;
  border: 1px solid;
}