@@ -444,16 +444,21 @@ header .breadcrumbs {
444
444
h1 {
445
445
font-family : $heading-font ;
446
446
-webkit-font-smoothing : antialiased ;
447
- font-size : 1.33 rem ;
447
+ font-size : 1.3125 rem ;
448
448
font-weight : 600 ;
449
449
letter-spacing : -0.012em ;
450
450
line-height : 40px ;
451
451
color : #212121 ;
452
452
margin : -8px 0 0 ;
453
+
454
+ iconify-icon {
455
+ margin-right : 8px ;
456
+ }
453
457
}
454
458
455
459
& .text {
456
460
padding : 24px ;
461
+ font-size : 1rem ;
457
462
458
463
h1 {
459
464
padding : 0px 0px 12px ;
@@ -517,7 +522,7 @@ a.material-card:hover {
517
522
.img {
518
523
background-color : $grayLighter ;
519
524
width : calc (100% -8px );
520
- aspect-ratio : 120 / 63 ;
525
+ // aspect-ratio: 120/63;
521
526
background-size : cover ;
522
527
background-position : center ;
523
528
border-radius : 8px ;
@@ -656,21 +661,34 @@ a.material-card:hover {
656
661
.blog-date {
657
662
white-space : nowrap ;
658
663
}
664
+ ol {
665
+ margin : 0 ;
666
+ }
659
667
}
660
668
661
669
.highlight-blog-post {
662
- font-size : 2rem ;
663
- line-height : 1.15 ;
664
- padding : 15px ;
665
- display : block ;
670
+ padding : 24px ;
666
671
text-decoration : none ;
667
672
color : white ;
668
- transition : background-color 0.5s ;
669
- background-color : #038fc7 ;
670
-
671
- & .large {
672
- font-size : 2.25rem ;
673
- line-height : 1.33333 ;
673
+ transition : background-color 0.5s , box-shadow 0.5s ;
674
+ background-color : $primary-color ;
675
+ display : flex ;
676
+ padding : 20px 12px 20px 24px ;
677
+ align-items : center ;
678
+ gap : 10px ;
679
+ align-self : stretch ;
680
+
681
+ p {
682
+ font-size : 1rem ;
683
+ margin : 10px 0 0 0 ;
684
+
685
+ & .lead {
686
+ font-family : $heading-font ;
687
+ font-size : 1.5rem ;
688
+ font-weight : 700 ;
689
+ line-height : 1.15 ;
690
+ margin-top : 0 ;
691
+ }
674
692
}
675
693
676
694
& :hover {
@@ -682,6 +700,71 @@ a.material-card:hover {
682
700
}
683
701
}
684
702
703
+ .highlight-detail-post {
704
+ padding : 24px ;
705
+ text-decoration : none ;
706
+ color : white ;
707
+ transition : background-color 0.5s , box-shadow 0.5s ;
708
+ background-color : #006895 ;
709
+ box-shadow : inset 0 0 64px #038fc7 ;
710
+ font-size : 1.5rem ;
711
+
712
+ .caption {
713
+ padding-bottom : 24px ;
714
+
715
+ p {
716
+ font-family : $heading-font ;
717
+ font-size : 1.25rem ;
718
+ font-weight : 600 ;
719
+ margin : 0 ;
720
+ line-height : 1.2 ;
721
+
722
+ strong {
723
+ font-size : 1.75rem ;
724
+ font-weight : 800 ;
725
+ }
726
+ }
727
+ }
728
+
729
+ .detail-feature {
730
+ display : flex ;
731
+ align-items : flex-start ;
732
+ gap : 16px ;
733
+ align-self : stretch ;
734
+
735
+ p {
736
+ font-size : 0.875rem ;
737
+
738
+ & .lead {
739
+ font-size : 1rem ;
740
+ margin-bottom : 4px ;
741
+ font-weight : 500 ;
742
+ }
743
+ }
744
+
745
+ iconify-icon {
746
+ padding : 8px ;
747
+ border-radius : 50% ;
748
+ background : rgba (0 , 0 , 0 , 0.15 );
749
+ color : white ;
750
+ }
751
+
752
+ }
753
+ animation-name : box- shadow- color;
754
+ animation-duration : 5s ;
755
+ animation-iteration-count : infinite ;
756
+ animation-direction : alternate ;
757
+
758
+ @keyframes box-shadow-color {
759
+ from {
760
+ box-shadow : inset 0 0 64px hsl (197 , 97% , 40% );
761
+ }
762
+ to {
763
+ box-shadow : inset 0 0 64px hsl (159 , 100% , 35% );
764
+ }
765
+ }
766
+ }
767
+
685
768
.events {
686
769
padding : 16px ;
687
770
@@ -726,15 +809,16 @@ a.material-card:hover {
726
809
727
810
.picture-promo {
728
811
display : block ;
729
- padding-top : 30 % ;
812
+ padding-top : 33 % ;
730
813
background-size : cover ;
731
814
background-position : center ;
732
815
text-decoration : none ;
733
816
border : none ;
734
817
735
818
.caption {
736
- padding : 8px 12px 12px ;
737
- background-color : rgba (0 , 0 , 0 , 0.54 );
819
+ padding : 48px 24px 24px 24px ;
820
+ background : rgb (0 ,0 ,0 );
821
+ background : linear-gradient (180deg , rgba (0 ,0 ,0 ,0 ) 0% , rgba (0 ,0 ,0 ,1 ) 100% );
738
822
color : white ;
739
823
border-bottom-left-radius : 16px ;
740
824
border-bottom-right-radius : 16px ;
@@ -743,16 +827,19 @@ a.material-card:hover {
743
827
align-items : center ;
744
828
745
829
.title {
746
- font-size : 20px ;
747
- font-weight : 400 ;
748
- line-height : 1.2em ;
830
+ font-family : $heading-font ;
831
+ font-size : 1.5rem ;
832
+ font-weight : 700 ;
833
+ line-height : normal ;
749
834
}
750
835
751
836
.subtitle {
752
- margin-top : 4 px ;
753
- line-height : 1.4 em ;
754
- font-size : 12 px ;
837
+ margin-top : 8 px ;
838
+ line-height : 1.5 rem ;
839
+ font-size : 1 rem ;
755
840
font-weight : initial ;
841
+ text-shadow : 0px 4px 16px rgba (0 , 0 , 0 , 0.33 );
842
+ opacity : .8 ;
756
843
}
757
844
758
845
svg {
@@ -762,6 +849,21 @@ a.material-card:hover {
762
849
min-width : 32px ;
763
850
}
764
851
}
852
+
853
+ & .picture-top {
854
+ padding-top : 0 ;
855
+ padding-bottom : 33% ;
856
+
857
+ .caption {
858
+ padding : 24px 24px 48px 24px ;
859
+ background : rgb (0 ,0 ,0 );
860
+ background : linear-gradient (0deg , rgba (0 ,0 ,0 ,0 ) 0% , rgba (0 ,0 ,0 ,1 ) 100% );
861
+ border-top-left-radius : 16px ;
862
+ border-top-right-radius : 16px ;
863
+ border-bottom-left-radius : 0 ;
864
+ border-bottom-right-radius : 0 ;
865
+ }
866
+ }
765
867
}
766
868
767
869
.supported-brands {
@@ -781,8 +883,101 @@ a.material-card:hover {
781
883
}
782
884
}
783
885
886
+ .getting-started {
887
+ text-align : center ;
888
+
889
+ .badge {
890
+ display : flex ;
891
+ padding : 2px 8px 2px 8px ;
892
+ align-items : flex-start ;
893
+ gap : 8px ;
894
+ border-radius : 4px ;
895
+ background : #E8E6F0 ;
896
+ font-family : $heading-font ;
897
+ font-size : 1rem ;
898
+ font-weight : 700 ;
899
+ text-transform : uppercase ;
900
+ }
901
+
902
+ .getting-started-grid {
903
+ display : flex ;
904
+ padding : 48px 0 48px 24px ;
905
+ align-items : flex-start ;
906
+ gap : 24px ;
907
+ }
908
+
909
+ .getting-started-device {
910
+ .content {
911
+ display : flex ;
912
+ flex-direction : column ;
913
+ align-items : center ;
914
+ gap : 16px ;
915
+
916
+ img {
917
+ box-shadow : none ;
918
+ border : 0 ;
919
+ }
920
+
921
+ h3 {
922
+ font-size : 2rem ;
923
+ font-weight : 700 ;
924
+ line-height : 133% ;
925
+ text-transform : none ;
926
+ letter-spacing : -.75px ;
927
+ margin : 0 ;
928
+ }
929
+
930
+ p {
931
+ font-size : 1rem ;
932
+ line-height : 1.5 ;
933
+ opacity : .9 ;
934
+ margin : 0 ;
935
+ }
936
+ }
937
+
938
+ .button {
939
+ padding : 6px 20px ;
940
+ background : $primary-color ;
941
+ color : white ;
942
+ font-size : 1rem ;
943
+ text-transform : uppercase ;
944
+ }
945
+ }
946
+
947
+ #HA_Yellow , #Raspberry_Pi {
948
+ padding-top : 96px ;
949
+ }
950
+
951
+ #HA_Yellow .badge {
952
+ color : $orange ;
953
+ }
954
+ #HA_Green .badge {
955
+ color : $green ;
956
+ }
957
+ #Raspberry_Pi .badge {
958
+ color : $primary-color ;
959
+ }
960
+
961
+ @media only screen and (max-width : $palm-end ) {
962
+ .getting-started-grid {
963
+ flex-direction : column ;
964
+ }
965
+
966
+ .getting-started-device {
967
+ padding-bottom : 64px ;
968
+ }
969
+
970
+ #HA_Yellow , #Raspberry_Pi {
971
+ padding-top : 0 ;
972
+ order : 2 ;
973
+ }
974
+ }
975
+ }
976
+
977
+
784
978
.sponsors-and-press {
785
979
margin-top : 24px ;
980
+ text-align : center ;
786
981
}
787
982
788
983
.seen-press {
@@ -791,12 +986,6 @@ a.material-card:hover {
791
986
gap : 24px ;
792
987
margin : 48px 0 ;
793
988
794
- h2 {
795
- grid-column : 1 /-1 ;
796
- margin : 0 ;
797
- text-align : center ;
798
- }
799
-
800
989
a {
801
990
aspect-ratio : 1 ;
802
991
}
@@ -913,17 +1102,6 @@ dt:hover a.title-link {
913
1102
}
914
1103
}
915
1104
916
- .hero-buttons {
917
- margin-bottom : 0 ;
918
- }
919
-
920
- .hero-buttons a {
921
- margin : 0 30px 10px 0 ;
922
-
923
- & :last-child {
924
- margin : 0 ;
925
- }
926
- }
927
1105
928
1106
// Article formatting
929
1107
0 commit comments