Skip to content

Commit 3509816

Browse files
committed
他で使う予定がなさそうな CSS を inline に変更し、モバイル画面での layout-break を修正
1 parent 18e9771 commit 3509816

File tree

2 files changed

+19
-25
lines changed

2 files changed

+19
-25
lines changed

app/assets/stylesheets/custom.scss

-17
Original file line numberDiff line numberDiff line change
@@ -1055,20 +1055,3 @@ section {
10551055
line-height: 1.7em;
10561056
color: #909090;
10571057
}
1058-
1059-
.stretch3-notes {
1060-
margin-top: 100px;
1061-
font-size: 11.8px;
1062-
line-height: 1.7em;
1063-
color: #909090;
1064-
}
1065-
1066-
.stretch3-eyecatch-container {
1067-
height: 35rem;
1068-
margin-bottom: 50px;
1069-
}
1070-
1071-
.stretch3-eyecatch {
1072-
border-radius: 10px;
1073-
object-fit: cover;
1074-
}

app/views/stretch3s/new.html.haml

+19-8
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,31 @@
33
- provide(:url, '/stretch3')
44
- provide(:meta_image, '/img/stretch3_cover.webp')
55

6+
:css
7+
.stretch3-notes {
8+
margin-top: 100px;
9+
font-size: 11.8px;
10+
line-height: 1.7em;
11+
color: #909090;
12+
}
13+
.stretch3-eyecatch {
14+
border-radius: 10px;
15+
object-fit: cover;
16+
}
17+
618
.container
719
%section.introduction{style: "padding: 50px 0px;"}
820
%div.text-center
921
%h1{style: "line-height: 1.4em; margin-bottom: 50px;"}
1022
Stretch3 × AI
1123
%br.ignore-pc
1224
利用申請フォーム
13-
.stretch3-eyecatch-container
14-
= lazy_image_tag '/img/stretch3_cover.webp',
15-
alt: 'AI 拡張ブロック利用例のスクリーンショット画像',
16-
min: true,
17-
class: 'stretch3-eyecatch',
18-
style: 'box-shadow: 0 2.5rem 2rem -2rem hsl(200 50% 20% / 40%);'
19-
%p
25+
= lazy_image_tag '/img/stretch3_cover.webp',
26+
alt: 'AI 拡張ブロック利用例のスクリーンショット画像',
27+
min: true,
28+
class: 'stretch3-eyecatch',
29+
style: 'box-shadow: 0 2.5rem 2rem -2rem hsl(200 50% 20% / 40%);'
30+
%p{style: 'margin-top: 70px;'}
2031
Stretch3 内にある AI 拡張ブロックの利用申請フォームです。
2132
%small<>
2233
(
@@ -81,7 +92,7 @@
8192
= f.label :term_of_use, "上記の利用規約に同意する", style: "display:inline"
8293
8394
= f.submit "同意して利用を始める", class: "form__submit"
84-
.text-center
95+
.text-center{style: 'color: gray;'}
8596
%small
8697
%small
8798
%b

0 commit comments

Comments
 (0)