summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/mobi.css.scss
blob: cc437cb3dcf3b17b3b8a7c84315f8d9d7ae2861e (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
/* 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 {
    #menu {
      #logo {
        display: none;
      }
    }
  }

  #main-content {
    padding: 30px 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;
  }

}