summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/mobi.css.scss
blob: c1b44fdd04a65f29453bf2a4f017fc57387bb0b3 (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
/* CSS for Phones only */
@media only screen and (max-width: 700px)
{

  th, td {
    // force tables into line-mode
    // it''s a bit ugly, but probably the best
    // solution for small screens
    display: block;
  }

  #head_top {
    #menu {
      #logo {
        display: none;
      }
    }
  }

  #head_scroll {
    @extend #head_top;
    position: fixed;
}

  #main-content {
    padding: 30px 5px;
  }

  #main-content-scroll {
    padding: 181px 5px;
  }

  .front-page {
    h1 {
      font-size: 2em !important;
    }
  }

  .editlink {
    float: right;
    opacity: 1;
    margin-right: 0;
  }

  .item-group {
    margin: 30px 0;

    &.with-avatar {
      margin-left: 0;

      .avatar {
        float: none;
        margin: 0;
        border: none;
        height: 32px;
        width: 32px;
        vertical-align: middle;
      }
    }
  }

  #user-info {
    tbody {
      tr {
        display: block;
        margin-bottom: 0.5em;
      }
      td:first-child:after {
        content: ":";
      }
    }
  }

  #comments {
    margin: 50px 20px 0;
  }

}