aboutsummaryrefslogtreecommitdiffstats
path: root/syte/static/less/styles.less
blob: 6a999c1064b70f677df59e2a13938dee89c7d30e (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
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
@import 'reset.less';
@import 'mixins.less';

@import 'variables.less';

@import 'base.less';
@import 'buttons.less';
@import 'modals.less';
@import 'profiles.less';
@import 'code.less';


// Specific styles
.main-header {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  width: 240px;
  height: 100%;
  min-height: 700px;
  float: left;
  border-right: 1px solid #c2c2c2;
  background: #E9E9E9 url('/static/imgs/b.png');


  hgroup {
    .picture a {
      display: inline-block;
      .square(84px);
      margin: 60px 35px 20px 35px;
      border: 3px solid @adjacent-color;
      background: #00000 url('https://twimg0-a.akamaihd.net/profile_images/1149409097/20101018060848_samrat94_6HR8FZ5V2JQDPU34ENIKCWBL0STAMO91XG7Y.jpg');

      @pic-shadow:0 1px 1px #f9f9f9, inset 0 0 6px #000000;
      .box-shadow(@pic-shadow);
    }

    h1 {
      font-size: 24px;
      margin: 0 35px;
      text-shadow: 0 1px 1px #f9f9f9;
    }
    h2 {
      margin: 10px 35px;
      font-size: 14px;
      font-weight: normal;
      line-height: 25px;
      color: @alternate-text-color;
    }
  }

  nav {
    margin: 65px 0;

    ul { border-top: 1px solid #d2d2d2; list-style: none; margin-left: 0; }
    li { margin-bottom: 0; }
    a, a:hover { border-bottom: 1px solid #d2d2d2; }
    a {
      position: relative;
      padding: 15px 30px;
      color: @text-color;
      display: block;
      font-weight: 500;
      text-shadow: 0 1px 1px #f9f9f9;
    }
    a:hover {
      color: #fff;
      background: @adjacent-color;
      border-right: 0;
      text-shadow: none;
    }
    .sel { border-right: 6px solid @adjacent-color;  }
  }

  .spinner {
    position: absolute !important;
    right: 30px;
    top: 23px;
  }

  .fork-me {
    position: absolute;
    left: 30px;
    bottom: 20px;
    font-size: 13px;
    color: @alternate-text-color;
    border-bottom: none;
  }
  .fork-me:hover {
    color: @adjacent-color;
  }
}

.main-section {
    position: relative;
    overflow: hidden;
    margin-left: 241px;
    padding: 35px;
}

.main-section h3.date {
	width: 100%;
	display: block;
	margin-left: -34px;
	padding: 20px 35px 30px 75px;
	border-bottom: 1px solid #C2C2C2;
	border-top: 1px solid #C2C2C2;
	font-size: 16px;
	font-weight: bold;
	.alpha-background(#ffffff, 0.8);
	color: @adjacent-color;
}

a.button_accent {
	margin:40px 50px;
	padding:10px 20px;
	display:inline-block;
	border:3px solid @adjacent-color;
	border-radius:70px;
	-moz-border-radius:70px;
	-webkit-border-radius:70px;
	text-transform:uppercase;
	color:@adjacent-color;
	font-size:17px;
	font-weight:400;}

a.button_accent:link{color:#0e94ec;}
a.button_accent:hover{color:#ffffff;
	background-color:@adjacent-color;
	outline:0;}
a.button_accent:active{
	color:#ffffff;
	background-color:#333399;
	outline:0;}

.blog-section {
    padding: 0;

    hgroup {
      h2, h1 { .h1; line-height: 40px; margin: 50px 0 25px 0;}
      h2 a {
        border-bottom: 0;
        font-weight: 500;
      }
      h3 a {
        display: none;
      }

      h3 a.active {
        position: fixed;
        top: 0;
        bottom: auto;
        margin-top: 0;
      }
    }

    article {
      width: 700px;
      overflow: hidden;
      line-height: 25px;
      padding: 5px 35px 50px 34px;

      img {
        padding: 2px;
        border: 1px solid #C2C2C2;
        margin: 0px 15px 5px 0px;
      }

      a.img-link {
        border-bottom: 0;

        &:hover img { border-color: @adjacent-color; }
      }
    }

    footer {
      padding-top: 10px;

      h4 {
        float: left;
        text-transform: uppercase;
        font-size: 13px;
        line-height: 28px;
        padding: 0px 15px 0px 0;
      }
    }
}

.tags {
  list-style: none;
  margin: 0;

  li {
    display: inline-block;

    //ie7 inline-block hack
    zoom: 1;
    *display: inline;
  }

  a {
    padding: 3px 10px;
    font-size: 13px;
    text-shadow: 0 1px 1px #F9F9F9;
    background: #E9E9E9;
    border: 1px solid #C2C2C2;
  }
  a:hover {
    background: @adjacent-color;
    color: #fff;
    text-shadow: none;
    border: 1px solid @adjacent-color;
  }
}

.mobile-nav {
  display: none;
}

.load-more-button {
  display: inline-block;
  margin: 0 20px 50px 20px;
  padding: 10px 30px;
  background-color: @adjacent-color;
  color: #fff;

  &:hover {
    border: 1px solid @adjacent-color;
    background: #fff;
    color: @adjacent-color;
  }

  .spinner {
    left: 140px;
    top: -8px;
  }
}

@media (max-width: 767px) {

  header.main-header {
    hgroup .picture a, nav { margin-top: 30px; }
  }

  .blog-section article {
      width: 400px;

      img { max-width: 400px; }
  }
}

@import 'styles-mobile.less';