質問編集履歴

2

コードの更新

2020/08/25 15:09

投稿

MIYABITSUJIMOTO
MIYABITSUJIMOTO

スコア19

test CHANGED
File without changes
test CHANGED
@@ -56,8 +56,6 @@
56
56
 
57
57
 
58
58
 
59
-
60
-
61
59
  <body>
62
60
 
63
61
  <div class="overlay" id="js__overlay"></div>
@@ -134,6 +132,46 @@
134
132
 
135
133
 
136
134
 
135
+
136
+
137
+
138
+
139
+
140
+
141
+ <section class="about-wrapper">
142
+
143
+ <div class="about-contents-wrapper">
144
+
145
+ <div class="container">
146
+
147
+ <div class="about-contents">
148
+
149
+ <div class="about-items">
150
+
151
+ <p class="section-title about-title">ABOUT US</p>
152
+
153
+ <p class="about-text">DIGSMILEは、デザインで人を笑顔にする会社。<br>
154
+
155
+ なんでもない日常に少しのワクワクと遊び心を提供します。笑顔には世界を変える力がある、デザインには人を幸せにする力がある。毎日に幸せを感じて生きていきたい。<br>
156
+
157
+ <span class="dp-md">DIGSMILEの社名にはそんな想いが込められています。</span></p>
158
+
159
+ <a href="#" class="btn about-btn">READ MORE</a>
160
+
161
+ </div>
162
+
163
+ </div>
164
+
165
+ </div>
166
+
167
+ </div>
168
+
169
+ </section>
170
+
171
+
172
+
173
+
174
+
137
175
  </main>
138
176
 
139
177
  </div>
@@ -144,6 +182,14 @@
144
182
 
145
183
  </body>
146
184
 
185
+ </html>
186
+
187
+
188
+
189
+
190
+
191
+
192
+
147
193
 
148
194
 
149
195
 
@@ -528,8 +574,306 @@
528
574
 
529
575
 
530
576
 
577
+
578
+
579
+
580
+
581
+ //ドロワー以外のSASS
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+ $breakpoints: (
590
+
591
+ "sm": "screen and (min-width: 576px)",
592
+
593
+ "md": "screen and (min-width: 768px)",
594
+
595
+ "lg": "screen and (min-width: 992px)",
596
+
597
+ "xl": "screen and (min-width: 1200px)"
598
+
599
+ ) !default;
600
+
601
+
602
+
603
+
604
+
605
+ @mixin mq($breakpoint: md) {
606
+
607
+ @media #{map-get($breakpoints, $breakpoint)} {
608
+
609
+ @content;
610
+
611
+ }
612
+
613
+ }
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+ .container {
626
+
627
+ width: 92%;
628
+
629
+ margin: 0 auto;
630
+
631
+ max-width: 980px;
632
+
633
+ @include mq("md") {
634
+
635
+ width: 89%;
636
+
637
+
638
+
639
+ }
640
+
641
+ @include mq('lg') {
642
+
643
+ width: 95%;
644
+
645
+ }
646
+
647
+ }
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+ // index.html トップページ
666
+
667
+ .top-wrapper {
668
+
669
+ background:linear-gradient(90deg,#fff 0%,#fff 24.5%,$bg-color 24.5%,$bg-color 100%);
670
+
671
+ color: #FFFFFF;
672
+
673
+ height: 668px;
674
+
675
+ position: relative;
676
+
677
+ z-index: 0;
678
+
679
+ margin-bottom: 78px;
680
+
681
+ @include mq('md') {
682
+
683
+ height: 1024px;
684
+
685
+ background:linear-gradient(90deg,#fff 0%,#fff 27%,$bg-color 27%,$bg-color 100%);
686
+
687
+ }
688
+
689
+ @include mq('lg') {
690
+
691
+ height: 740px;
692
+
693
+ background:linear-gradient(90deg,#fff 0%,#fff 46%,$bg-color 46%,$bg-color 100%);
694
+
695
+ }
696
+
697
+ &:before {
698
+
699
+ content: "";
700
+
701
+ position: absolute;
702
+
703
+ background-image: url(../img/the-honest-company-uM-WXMr-3@2x.png);
704
+
705
+ width: 76.5%;
706
+
707
+ height: 87%;
708
+
709
+ object-fit: cover;
710
+
711
+ background-position: 54.5% 0%;
712
+
713
+ background-size: 450%;
714
+
715
+ background-repeat: no-repeat;
716
+
717
+ z-index: -2;
718
+
719
+ @include mq('md') {
720
+
721
+ height: 87%;
722
+
723
+ width: 78%;
724
+
725
+ background-position: 55% 0;
726
+
727
+ background-size: 330%;
728
+
729
+ }
730
+
731
+ @include mq('lg') {
732
+
733
+ background-size: 123%;
734
+
735
+ background-position: 80% 5%;
736
+
737
+ width: 76.5%;
738
+
739
+ height: 86.5%;
740
+
741
+ }
742
+
743
+
744
+
745
+ }
746
+
531
747
 
532
748
 
749
+ &:after{
750
+
751
+ content: "";
752
+
753
+ position: absolute;
754
+
755
+ background-color: rgba($color: #000000, $alpha: 0.35);
756
+
757
+ width: 76.5%;
758
+
759
+ height: 87%;
760
+
761
+ background-position: 55% 0%;
762
+
763
+ top: 0;
764
+
765
+ z-index: -2;
766
+
767
+ @include mq('md') {
768
+
769
+ width: 78%;
770
+
771
+ height: 87%;
772
+
773
+ background-position: 45% 44%;
774
+
775
+
776
+
777
+ }
778
+
779
+ @include mq('lg') {
780
+
781
+ width: 76.5%;
782
+
783
+ height: 86.5%;
784
+
785
+ background-position: 30% 45%;
786
+
787
+ }
788
+
789
+ }
790
+
791
+
792
+
793
+ .top-text-logo {
794
+
795
+
796
+
797
+ position: relative;
798
+
799
+
800
+
801
+ &:after {
802
+
803
+ content: "DESIGN FOR SMILE.";
804
+
805
+ display: block;
806
+
807
+ position: absolute;
808
+
809
+ top:234px;
810
+
811
+ right: -50px;
812
+
813
+ width: 300px;
814
+
815
+ color: #fff;
816
+
817
+ font-size: 56px;
818
+
819
+ font-family: 'Montserrat', sans-serif;
820
+
821
+ font-weight: bold;
822
+
823
+ letter-spacing: 3.3px;
824
+
825
+ line-height: 53px;
826
+
827
+ @include mq('md') {
828
+
829
+ top: 390px;
830
+
831
+ right: -17px;
832
+
833
+ }
834
+
835
+ @include mq('lg') {
836
+
837
+ font-size: 72px;
838
+
839
+ top: 225px;
840
+
841
+ right: 150px;
842
+
843
+ line-height: 82px;
844
+
845
+ letter-spacing: 0.9px;
846
+
847
+ }
848
+
849
+ }
850
+
851
+ @include mq('md') {
852
+
853
+ padding-top: 30px;
854
+
855
+ }
856
+
857
+ @include mq('lg') {
858
+
859
+ padding-top: 0px;
860
+
861
+ }
862
+
863
+
864
+
865
+ }
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+ }
874
+
875
+
876
+
533
877
 
534
878
 
535
879
 

1

htmlを修正いたしました

2020/08/25 15:09

投稿

MIYABITSUJIMOTO
MIYABITSUJIMOTO

スコア19

test CHANGED
File without changes
test CHANGED
@@ -62,11 +62,15 @@
62
62
 
63
63
  <div class="overlay" id="js__overlay"></div>
64
64
 
65
+
66
+
65
67
  <nav class="side-menu">
66
68
 
69
+
70
+
67
71
  <div class="side-menu-img">
68
72
 
69
- <img src="/img/logo-d.png" alt="">
73
+ <img src="/img//logo-d.png" alt="">
70
74
 
71
75
  </div>
72
76
 
@@ -92,7 +96,43 @@
92
96
 
93
97
  <main class="contents">
94
98
 
99
+ <section class="top-wrapper">
100
+
101
+ <div class="side-menu-btn" id="js__sideMenuBtn">
102
+
103
+ <div class="side-menu-btn-icon">
104
+
105
+ <span class="navbar_toggle_icon"></span>
106
+
107
+ <span class="navbar_toggle_icon"></span>
108
+
109
+ <span class="navbar_toggle_icon"></span>
110
+
95
- 中身がここに入ります。
111
+ </div>
112
+
113
+ <span class="navbar_toggle_text">MENU</span>
114
+
115
+ </div>
116
+
117
+ <div class="container top-text-logo">
118
+
119
+ <div class="top-logo">
120
+
121
+ <img src="/img/site-logo-1@2x.png" alt="">
122
+
123
+ </div>
124
+
125
+ </div>
126
+
127
+
128
+
129
+ <p class="top-sub-head-top">デザインで人を笑顔にする会社</p>
130
+
131
+ <p class="top-sub-head-bottom">DIGSMILE INC.</p>
132
+
133
+ </section>
134
+
135
+
96
136
 
97
137
  </main>
98
138