Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9bcba90

Browse files
modified styles task 2
1 parent 20d3a15 commit 9bcba90

File tree

2 files changed

+29
-9
lines changed

2 files changed

+29
-9
lines changed

‎2024/02/assets/dropdown-arrow.svg

Lines changed: 1 addition & 1 deletion
Loading[フレーム]

‎2024/02/index.css

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ div {
1313
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
1414
}
1515

16+
p {
17+
font-size: 14px;
18+
}
19+
1620
body {
1721
display: flex;
1822
box-sizing: border-box;
@@ -40,6 +44,7 @@ li {
4044
height: 120px;
4145
min-height: 120px;
4246
color: rgb(80, 80, 80);
47+
border-radius: 10px;
4348
}
4449

4550
input,
@@ -52,38 +57,52 @@ ul {
5257
padding-left: 0px;
5358
}
5459

60+
input::marker {
61+
min-height: 60px;
62+
min-width: 60px;
63+
}
64+
5565
input {
5666
padding: 20px 0;
5767
width: 70%;
58-
font-size: 34px;
59-
height: 60%;
60-
margin: 25px 80px;
68+
font-size: 24px;
69+
height: 40px;
70+
line-height: 10px;
71+
margin: 40px 80px;
72+
margin-top: 35px;
6173
outline: 0;
6274
border: 1px solid transparent;
6375
box-sizing: border-box;
6476
}
6577

6678
label[for='search'] {
79+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
80+
'Helvetica Neue', sans-serif;
6781
pointer-events: none;
6882
position: absolute;
6983
left: 10%;
70-
top: 45px;
84+
top: 42px;
7185
transition: all 400ms;
7286
color: rgb(107, 107, 107);
7387
}
7488

7589
label[for='search'].showed,
7690
input:focus ~ label[for='search'] {
7791
position: absolute;
78-
top: -30px;
92+
top: -24px;
7993
font-size: 16px;
80-
left: 10px;
94+
color: black;
95+
left: 0px;
8196
}
8297

8398
input:focus {
8499
border-bottom: 1px solid rgb(148, 148, 148);
85100
}
86101

102+
.select-form .selected {
103+
border-radius: 10px;
104+
}
105+
87106
.select-form .selected,
88107
.select-form.show li {
89108
display: flex;
@@ -162,9 +181,10 @@ ul {
162181
position: absolute;
163182
display: block;
164183
right: 35px;
165-
top: 35px;
166-
height: 60%;
184+
top: 34%;
185+
height: 60px;
167186
z-index: 5;
187+
cursor: pointer;
168188
}
169189

170190
// ---- contacts styles ---

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /