aboutsummaryrefslogtreecommitdiffstats
path: root/syte/static/less/styles-mobile.less
blob: 6ff8003247044cad897908ec06f47696c518b1ac (plain) (blame)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
@media (max-width: 600px) {

  body {
    background: #E9E9E9 url('/static/imgs/b.png');
    overflow-x: hidden;
  }

  .mobile-nav {
     display: block;
     position: fixed;
     top: 0;
     height: 45px;
     width: 100%;
     z-index: 3000;

     background: #E9E9E9 url('/static/imgs/b.png');
     border-top: 3px solid @adjacent-color;
     .box-shadow();

     h3 {
       float: right;
       padding: 10px;

       a {
         border-bottom: 0; 
         font-weight: bold;
         color: @text-color;
         text-shadow: 0 1px 1px #f9f9f9;
       }
     }

     .nav-btn {
       float: left;
       padding: 7px 10px 4px;
       margin: 8px 10px;
       .gradient(#404040, #333);
       .border-radius(4px);
       .box-shadow(0 1px 1px #f9f9f9);
     }

     .nav-btn-bar {
       display: block;
       width: 18px;
       height: 2px;
       margin-bottom: 3px;
       background-color: #f9f9f9;

       .border-radius(1px);
       .box-shadow(0 1px 0 rgba(0, 0, 0, 0.25));
     }
  }

  header.main-header {
    position: absolute;


    hgroup {
      .picture a { margin: 60px 0 10px 10px; }
      h1 {
        font-size: 18px;
        margin: 0 10px;
      }
      h2 {
        margin: 0 10px 10px 10px;
      }
    }

    nav {
      margin: 20px 0;
    }

    .fork-me {
      display: none;
    }
  }

  .main-section {
     margin: 45px 0 0 0;
     position: relative;
     min-height: 500px;
     left: 0;
     z-index: 2000;
     background-color: #fff;

     .box-shadow();
     .transition(e('left .3s ease-out'));

     &.nav-opened {
        left: 240px;
     }
  }

  .blog-section {

    hgroup {
      h2, h1 { .h2; margin: 10px 0 5px 0; }

      h3 a {
         position: static;
         margin: 0;
         padding: 5px 0;
         border: 0;
         font-weight: 300;
      }
    }

    article {
      width: 95%;
      padding: 10px 10px 30px;
      border-bottom: 1px solid #C2C2C2;

      img { max-width: 300px; }
    }

    .loading {
       padding: 15px;
    }
  }

  .modal-backdrop {
    z-index: 3500;
  }

  .modal {
    position: absolute;
    width: 100%;
    height: 1500px;
    z-index: 4000;
    top: 45px;

    &.fade-large { width: 100%; }

    &.fade.in, &.fade-large.in { left: 0; }
  }

  .profile.twitter, .profile.github, .profile.dribbble, .profile.instagram {
    overflow: scroll;
  }

  .profile-info .btn {
     position: static;
     margin-top: 5px;
  }

  .shots-likes-received, .shots-likes-given { display: none; }

  .profile-shots { padding: 10px 0;

    > li {
      margin: 0 0 20px 10px; 
      width: 280px;
    }

    img {
      width: 280px;
      height: 210px;
    }
  }

  .instagram .profile-shot img {
     width: 280px;
     height: 280px;
  }

}