1
1
/*!
2
- * Comet v1.1.1
2
+ * Comet v1.2.0
3
3
* https://github.com/marcbruederlin/comet
4
4
*
5
- * Copyright (c) 2016 Marc Bruederlin
5
+ * Copyright (c) 2017 Marc Bruederlin
6
6
* Licensed under the MIT license
7
7
*/
8
8
/*********************************************************
@@ -434,7 +434,7 @@ html {
434
434
435
435
body {
436
436
font-family : "Source Sans Pro" , sans-serif;
437
- font-size : 1.6 rem ;
437
+ font-size : 1.5 rem ;
438
438
line-height : 1.6 ;
439
439
color : # 626979 ;
440
440
-webkit-font-smoothing : antialiased;
@@ -464,6 +464,9 @@ body {
464
464
a [href ^= "#" ]: after {
465
465
display : none; } }
466
466
467
+ /*********************************************************
468
+ Functions
469
+ *********************************************************/
467
470
/*********************************************************
468
471
Components
469
472
*********************************************************/
@@ -486,9 +489,9 @@ body {
486
489
*********************************************************/
487
490
.button {
488
491
display : inline-block;
489
- padding : 0 3 rem ;
492
+ padding : 0 2 rem ;
490
493
font-family : inherit;
491
- font-size : 1.2 rem ;
494
+ font-size : 1.04167 rem ;
492
495
font-weight : 700 ;
493
496
line-height : 4rem ;
494
497
letter-spacing : .05rem ;
@@ -500,28 +503,41 @@ body {
500
503
border : 0.2rem solid # 19e2b5 ;
501
504
border-radius : .4rem ;
502
505
cursor : pointer; }
506
+ .button : disabled {
507
+ opacity : 0.8 ;
508
+ cursor : not-allowed; }
509
+ .button : disabled : hover {
510
+ background-color : # 19e2b5 ;
511
+ border-color : # 19e2b5 ; }
503
512
.button : hover , .button : focus , .button : active {
504
513
color : # fff ;
505
514
background-color : # 0f866b ;
506
515
border-color : # 0f866b ;
507
516
outline : none; }
508
517
.button--small {
509
518
padding : 0 1rem ;
510
- font-size : 1.1 rem ;
519
+ font-size : 0.86806 rem ;
511
520
line-height : 3rem ; }
512
521
.button--large {
513
522
font-size : 1.5rem ;
514
523
line-height : 6rem ; }
515
524
.button--outline {
516
525
color : # 19e2b5 ;
517
526
background-color : transparent; }
527
+ .button--outline : disabled : hover {
528
+ color : # 19e2b5 ;
529
+ background-color : transparent; }
518
530
.button--outline : hover {
519
531
color : # 0f866b ;
520
532
background-color : transparent; }
521
533
.button--clear {
522
534
color : # 19e2b5 ;
523
535
background-color : transparent;
524
536
border-color : transparent; }
537
+ .button--clear : disabled : hover {
538
+ color : # 19e2b5 ;
539
+ background-color : transparent;
540
+ border-color : transparent; }
525
541
.button--clear : hover {
526
542
color : # 0f866b ;
527
543
background-color : transparent;
@@ -532,7 +548,7 @@ body {
532
548
*********************************************************/
533
549
.code {
534
550
font-family : "Monaco" , monospace;
535
- font-size : 1.3 rem ; }
551
+ font-size : 1.25 rem ; }
536
552
.code--background {
537
553
padding : .5rem 1rem ;
538
554
background : rgba (0 , 0 , 0 , 0.05 ); }
@@ -620,6 +636,7 @@ textarea {
620
636
.grid--gapless .grid__col {
621
637
padding : 0 !important ; }
622
638
.grid .grid__col {
639
+ position : relative;
623
640
padding : 0 1rem 1rem ; }
624
641
.grid .grid__col--12 {
625
642
-ms-flex-preferred-size : 100% ;
@@ -850,22 +867,22 @@ h1, h2, h3, h4, h5, h6 {
850
867
color : # 000 ; }
851
868
852
869
h1 {
853
- font-size : 7.2 rem ; }
870
+ font-size : 4.47898 rem ; }
854
871
855
872
h2 {
856
- font-size : 5.4 rem ; }
873
+ font-size : 3.73248 rem ; }
857
874
858
875
h3 {
859
- font-size : 3.6 rem ; }
876
+ font-size : 3.1104 rem ; }
860
877
861
878
h4 {
862
- font-size : 2.7 rem ; }
879
+ font-size : 2.592 rem ; }
863
880
864
881
h5 {
865
- font-size : 2.3 rem ; }
882
+ font-size : 2.16 rem ; }
866
883
867
884
h6 {
868
- font-size : 1.9 rem ; }
885
+ font-size : 1.5 rem ; }
869
886
870
887
p {
871
888
margin : 0 0 3rem 0 ; }
@@ -941,3 +958,26 @@ abbr[title] {
941
958
display : table; }
942
959
.utility__clearfix : after , .list--inline : after {
943
960
clear : both; }
961
+
962
+ /*********************************************************
963
+ Hidden utility
964
+ *********************************************************/
965
+ .utility__hidden--s , .utility__hidden--m , .utility__hidden--l {
966
+ display : initial;
967
+ visibility : visible; }
968
+
969
+ @media (min-width : 769px ) {
970
+ .utility__hidden--m .utility__hidden--l ,
971
+ .utility__hidden--l .utility__hidden--s ,
972
+ .utility__hidden--l {
973
+ display : none; } }
974
+
975
+ @media (max-width : 425px ) {
976
+ .utility__hidden--l .utility__hidden--s ,
977
+ .utility__hidden--s {
978
+ display : none; } }
979
+
980
+ @media (min-width : 426px ) and (max-width : 768px ) {
981
+ .utility__hidden--m .utility__hidden--l ,
982
+ .utility__hidden--m {
983
+ display : none; } }
0 commit comments