source: OpenWorkouts-current/ow/static/css/main.css @ affc3f7

currentfeature/docs
Last change on this file since affc3f7 was affc3f7, checked in by borja <borja@…>, 5 years ago

Added unminified main.css

Added forms.css for html form specific styles

  • Property mode set to 100644
File size: 11.5 KB
Line 
1img,legend {
2        border:0
3}
4
5legend,td,th {
6        padding:0
7}
8
9.add-workout,.button,sub,sup {
10        position:relative
11}
12
13.button,.header-content a,.workout-resume ul a,.workout-title a {
14        text-decoration:none
15}
16
17@font-face {
18        font-family:'Open Sans';
19        font-style:normal;
20        font-weight:300;
21        src:local('Open Sans Light'),local('OpenSans-Light'),url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTYnF5uFdDttMLvmWuJdhhgs.ttf) format('truetype')
22}
23
24@font-face {
25        font-family:'Open Sans';
26        font-style:normal;
27        font-weight:400;
28        src:local('Open Sans'),local('OpenSans'),url(http://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf) format('truetype')
29}
30
31@font-face {
32        font-family:'Open Sans';
33        font-style:normal;
34        font-weight:700;
35        src:local('Open Sans Bold'),local('OpenSans-Bold'),url(http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzInF5uFdDttMLvmWuJdhhgs.ttf) format('truetype')
36}
37
38@font-face {
39        font-family:'Open Sans';
40        font-style:normal;
41        font-weight:800;
42        src:local('Open Sans Extrabold'),local('OpenSans-Extrabold'),url(http://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-honF5uFdDttMLvmWuJdhhgs.ttf) format('truetype')
43}
44
45@font-face {
46        font-family:'Open Sans';
47        font-style:italic;
48        font-weight:300;
49        src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url(http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxrfB31yxOzP-czbf6AAKCVo.ttf) format('truetype')
50}
51
52@font-face {
53        font-family:'Open Sans';
54        font-style:italic;
55        font-weight:400;
56        src:local('Open Sans Italic'),local('OpenSans-Italic'),url(http://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBp0EAVxt0G0biEntp43Qt6E.ttf) format('truetype')
57}
58
59@font-face {
60        font-family:'Open Sans';
61        font-style:italic;
62        font-weight:700;
63        src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url(http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxp_TkvowlIOtbR7ePgFOpF4.ttf) format('truetype')
64}
65
66html {
67        font-family:sans-serif;
68        -ms-text-size-adjust:100%;
69        -webkit-text-size-adjust:100%;
70        box-sizing:border-box
71}
72
73article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary {
74        display:block
75}
76
77audio,canvas,progress,video {
78        display:inline-block;
79        vertical-align:baseline
80}
81
82audio:not([controls]) {
83        display:none;
84        height:0
85}
86
87.hide,[hidden],template {
88        display:none
89}
90
91a {
92        background-color:transparent
93}
94
95a:active,a:hover {
96        outline:0
97}
98
99abbr[title] {
100        border-bottom:1px dotted
101}
102
103b,optgroup,strong {
104        font-weight:700
105}
106
107dfn {
108        font-style:italic
109}
110
111h1 {
112        font-size:2em;
113        margin:.67em 0
114}
115
116mark {
117        background:#ff0;
118        color:#000
119}
120
121small {
122        font-size:80%
123}
124
125sub,sup {
126        font-size:75%;
127        line-height:0;
128        vertical-align:baseline
129}
130
131sup {
132        top:-.5em
133}
134
135sub {
136        bottom:-.25em
137}
138
139svg:not(:root) {
140        overflow:hidden
141}
142
143figure {
144        margin:1em 40px
145}
146
147hr {
148        box-sizing:content-box;
149        height:0
150}
151
152pre,textarea {
153        overflow:auto
154}
155
156code,kbd,pre,samp {
157        font-family:monospace,monospace;
158        font-size:1em
159}
160
161button,input,optgroup,select,textarea {
162        color:inherit;
163        font:inherit;
164        margin:0
165}
166
167button {
168        overflow:visible
169}
170
171button,select {
172        text-transform:none
173}
174
175button,html input[type=button],input[type=reset],input[type=submit] {
176        -webkit-appearance:button;
177        cursor:pointer
178}
179
180button[disabled],html input[disabled] {
181        cursor:default
182}
183
184button::-moz-focus-inner,input::-moz-focus-inner {
185        border:0;
186        padding:0
187}
188
189input {
190        line-height:normal
191}
192
193input[type=checkbox],input[type=radio] {
194        box-sizing:border-box;
195        padding:0
196}
197
198input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button {
199        height:auto
200}
201
202input[type=search] {
203        -webkit-appearance:textfield;
204        box-sizing:content-box
205}
206
207input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration {
208        -webkit-appearance:none
209}
210
211fieldset {
212        border:1px solid silver;
213        margin:0 2px;
214        padding:.35em .625em .75em
215}
216
217table {
218        border-collapse:collapse;
219        border-spacing:0
220}
221
222body {
223        margin:0;
224        font-family:'Open Sans',sans-serif
225}
226
227*,:after,:before {
228        box-sizing:inherit
229}
230
231.button {
232        box-sizing:border-box;
233        display:inline-block;
234        text-align:center;
235        vertical-align:middle;
236        cursor:pointer;
237        border:1px solid transparent;
238        font-style:normal;
239        white-space:nowrap;
240        text-overflow:ellipsis;
241        padding:.3em 1em;
242        margin:0;
243        overflow:hidden;
244        background:#e1e1e1;
245        color:#151515;
246        font-size:1em;
247        line-height:1.25;
248        max-width:100%
249}
250
251.login-content {
252        background-image:url(../media/img/back-01.jpg);
253        background-size:cover;
254        display:-webkit-flex;
255        display:-ms-flexbox;
256        display:flex;
257        -webkit-justify-content:center;
258        -ms-flex-pack:center;
259        justify-content:center;
260        -webkit-align-items:center;
261        -ms-flex-align:center;
262        align-items:center;
263        min-height:300px;
264        padding:1em 0;
265        transition:all 250ms ease-in-out
266}
267
268@media (min-width:1024px) {
269        .login-content {
270        min-height:550px
271}
272
273
274}
275
276@media (min-width:1440px) {
277        .login-content {
278        min-height:650px
279}
280
281
282}
283
284.login-content .message {
285        padding:.5em;
286        margin:0;
287        text-align:center;
288        font-size:13px;
289        font-size:.8125rem
290}
291
292.login-content .message.message-error {
293        color:#fff;
294        background-color:red
295}
296
297.login-content form {
298        width:100%;
299        max-width:350px
300}
301
302.login-content legend {
303        display:none
304}
305
306.login-content fieldset {
307        border:none;
308        background-color:rgba(21,21,21,.6);
309        border-radius:6px;
310        padding:2em
311}
312
313.login-content fieldset>div {
314        margin-bottom:1.5em
315}
316
317.login-content input {
318        width:100%;
319        padding:.5em .75em;
320        border:1px solid transparent;
321        border-radius:2px
322}
323
324.login-content input:focus {
325        border-color:#EE4056
326}
327
328.login-content label {
329        display:block;
330        font-size:14px;
331        font-size:.875rem;
332        color:#959595;
333        margin-bottom:.25em
334}
335
336.login-content .button {
337        transition:all .5s ease-in-out;
338        background-color:#EE4056;
339        color:#fff;
340        margin-bottom:1em;
341        text-transform:uppercase
342}
343
344.login-content .button:hover {
345        background-color:#e6152f
346}
347
348.signup-content {
349        background-image:url(../media/img/signup-01.jpg);
350        background-size:cover;
351        display:-webkit-flex;
352        display:-ms-flexbox;
353        display:flex;
354        -webkit-justify-content:center;
355        -ms-flex-pack:center;
356        justify-content:center;
357        -webkit-align-items:center;
358        -ms-flex-align:center;
359        align-items:center;
360        min-height:300px;
361        padding:1em 0;
362        transition:all 250ms ease-in-out
363}
364
365@media (min-width:1024px) {
366        .signup-content {
367        min-height:550px
368}
369
370
371}
372
373@media (min-width:1440px) {
374        .signup-content {
375        min-height:650px
376}
377
378
379}
380
381.signup-content form {
382        width:100%;
383        max-width:40%
384}
385
386.signup-content ul.error li {
387        color:#fff;
388        background-color:red
389}
390
391.signup-content legend {
392        display:none
393}
394
395.signup-content fieldset {
396        border:none;
397        background-color:rgba(21,21,21,.6);
398        border-radius:6px;
399        padding:2em
400}
401
402.signup-content fieldset>div {
403        margin-bottom:1.5em
404}
405
406.signup-content input {
407        width:100%;
408        padding:.5em .75em;
409        border:1px solid transparent;
410        border-radius:2px
411}
412
413.signup-content input:focus {
414        border-color:#EE4056
415}
416
417.signup-content label {
418        display:block;
419        font-size:14px;
420        font-size:.875rem;
421        color:#959595;
422        margin-bottom:.25em
423}
424
425.signup-content .button {
426        transition:all .5s ease-in-out;
427        background-color:#EE4056;
428        color:#fff;
429        margin-bottom:1em;
430        text-transform:uppercase
431}
432
433.logo span,.workout-title:before {
434        transition:all 250ms ease-in-out
435}
436
437.logo-open,.logo:hover span {
438        color:#EE4056
439}
440
441.header-content .description,.logo {
442        margin:0
443}
444
445.signup-content .button:hover {
446        background-color:#e6152f
447}
448
449.header-content {
450        padding:1em 1.5em
451}
452
453.logo {
454        font-size:24px;
455        font-size:1.5rem;
456        line-height:1em;
457        font-weight:800;
458        text-transform:uppercase;
459        display:inline-block
460}
461
462.logo-open {
463        display:block
464}
465
466.logo-outs,.logo-work {
467        color:#f8b5be
468}
469
470.nav-site {
471        font-size:13px;
472        font-size:.8125rem
473}
474
475.nav-site ul {
476        list-style-type:none;
477        padding:0;
478        margin:0;
479        display:-webkit-flex;
480        display:-ms-flexbox;
481        display:flex;
482        -webkit-flex-direction:row;
483        -ms-flex-direction:row;
484        flex-direction:row;
485        -webkit-justify-content:space-between;
486        -ms-flex-pack:justify;
487        justify-content:space-between
488}
489
490.nav-site li {
491        border-left:1px solid #e1e1e1;
492        -webkit-flex-grow:1;
493        -ms-flex-positive:1;
494        flex-grow:1;
495        text-align:center
496}
497
498.nav-site a {
499        color:#959595;
500        padding:1.25em;
501        display:block
502}
503
504.nav-site .is-active a,.nav-site a:hover {
505        color:#151515
506}
507
508.add-workout>a {
509        color:#EE4056
510}
511
512.add-workout>a:before {
513        content:"+";
514        font-weight:800;
515        font-size:32px;
516        font-size:2rem;
517        line-height:0;
518        position:relative;
519        top:8px
520}
521
522.add-workout:hover:after,.bike:before {
523        content:""
524}
525
526.add-workout>a span {
527        display:none
528}
529
530.add-workout>a:hover {
531        background-color:#EE4056;
532        color:#fff
533}
534
535.add-workout:hover:after {
536        position:absolute;
537        background-color:#fff;
538        bottom:-1px;
539        width:100%;
540        height:1px;
541        display:block;
542        z-index:20
543}
544
545.add-workout:hover ul {
546        display:inline-block
547}
548
549.add-workout ul {
550        display:none;
551        -webkit-flex-direction:column;
552        -ms-flex-direction:column;
553        flex-direction:column;
554        position:absolute;
555        background-color:rgba(255,255,255,.95);
556        right:-1px;
557        border:1px solid #e1e1e1;
558        width:153px
559}
560
561.add-workout ul li {
562        border-left:transparent;
563        text-align:left
564}
565
566.add-workout ul a:hover {
567        background-color:#fbfbfb
568}
569
570.description {
571        font-size:14px;
572        font-size:.875rem;
573        font-weight:300;
574        letter-spacing:.025em;
575        color:#959595
576}
577
578.is-login .header-content {
579        border-bottom:1px solid #e1e1e1;
580        display:-webkit-flex;
581        display:-ms-flexbox;
582        display:flex;
583        padding:0 1.5em;
584        -webkit-justify-content:space-between;
585        -ms-flex-pack:justify;
586        justify-content:space-between;
587        -webkit-align-items:center;
588        -ms-flex-align:center;
589        align-items:center
590}
591
592.is-login .description {
593        display:none
594}
595
596.is-login .logo-open {
597        display:inline-block
598}
599
600.workout-content {
601        padding:2em 1em
602}
603
604@media (min-width:480px) {
605        .workout-content {
606        padding:2em 6em
607}
608
609
610}
611
612.workout-list {
613        margin-right:2em
614}
615
616.workout-list>h2 {
617        font-weight:300;
618        margin:0 0 1.5em
619}
620
621.workout-resume {
622        max-width:540px;
623        padding:1.5em 0;
624        position:relative
625}
626
627@media (min-width:800px) {
628        .workout-content {
629        display:-webkit-flex;
630        display:-ms-flexbox;
631        display:flex;
632        -webkit-justify-content:space-between;
633        -ms-flex-pack:justify;
634        justify-content:space-between
635}
636
637.workout-resume {
638        padding-left:2em;
639        border-left:1px solid #e1e1e1;
640        transition:all 250ms ease-in-out
641}
642
643
644}
645
646.workout-resume:hover {
647        border-color:#151515
648}
649
650.workout-resume:hover .workout-title:before {
651        color:#151515
652}
653
654.workout-resume ul {
655        padding:0;
656        list-style-type:none;
657        font-size:13px;
658        font-size:.8125rem
659}
660
661.workout-resume ul a {
662        display:block
663}
664
665.bike:before {
666        display:block;
667        width:30px;
668        height:30px;
669        background-image:url(../media/img/bike.svg);
670        background-size:100%
671}
672
673.workout-title {
674        font-size:14px;
675        font-size:.875rem;
676        margin:0;
677        position:relative
678}
679
680.workout-title:before {
681        content:"▶";
682        position:absolute;
683        left:-3.25em;
684        top:.35em;
685        color:#e1e1e1;
686        font-size:10px;
687        font-size:.625rem
688}
689
690.workout-title a {
691        color:#151515
692}
693
694.workout-title a:hover {
695        color:#EE4056
696}
697
698.workout-info {
699        display:-webkit-flex;
700        display:-ms-flexbox;
701        display:flex;
702        -webkit-align-items:center;
703        -ms-flex-align:center;
704        align-items:center;
705        margin:.25em 0
706}
707
708.workout-info li {
709        color:#959595
710}
711
712.workout-info li:after {
713        content:"|";
714        margin:0 .5em
715}
716
717.workout-info li:last-child:after {
718        content:"";
719        margin:0
720}
721
722.workout-intro {
723        font-size:13px;
724        font-size:.8125rem;
725        color:#151515
726}
727
728.workout-options {
729        display:inline-block;
730        border:1px solid #e1e1e1;
731        margin-bottom:0;
732        border-radius:4px
733}
734
735.workout-options li {
736        display:inline-block;
737        border-right:1px solid #e1e1e1
738}
739
740.workout-options li:last-child {
741        border-right:none
742}
743
744.workout-options a {
745        color:#959595;
746        padding:.5em .75em
747}
748
749.workout-options a:hover {
750        color:#151515
751}
752
753.owo-del a:hover {
754        color:red
755}
756
757.workout-aside {
758        width:100%
759}
760
761@media (min-width:800px) {
762        .workout-aside {
763        max-width:300px;
764        padding-left:1.5em;
765        border-left:1px solid #e1e1e1
766}
767
768
769}
770
Note: See TracBrowser for help on using the repository browser.