-
Notifications
You must be signed in to change notification settings - Fork 0
/
2-styleup.css
128 lines (122 loc) · 2.23 KB
/
2-styleup.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
* {
margin: 0;
padding: 0;
}
body {
background-color: #1c4150;
}
.empty {
height: 80px;
}
.empty1 {
height: 5px;
}
.sections {
background-color: snow;
padding-top: 10px;
}
form {
grid-column: 2 / 2;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: repeat(12, 1fr);
grid-gap: 5px 5px;
margin-top: 40px;
padding: 25px;
padding-right: 45px;
}
.header {
text-align: center;
margin: 30px;
}
h1 {
padding-top: 20px;
font-family: 'Noto Serif JP', serif;
font-weight: bold;
}
#submit {
grid-column: 1 / span 2;
height: 30px;
width: 200px;
margin: auto;
background-color: #F26835;
font-size: 18px;
border-radius: 5px;
}
#submit:hover {
font-weight: bold;
text-shadow: 3px 3px 10px;
background-color: #f26735d7;
}
img {
width: 35em;
margin-top: 20%;
}
input, select {
height: 25px;
padding: 2px;
background-color: antiquewhite;
border: none;
}
textarea {
background-color: antiquewhite;
border: none;
}
footer {
position: absolute;
bottom: 10px;
right: 20px;
text-shadow: 3px 3px 20px;
color: rgba(255, 250, 250, 0.274);
}
/*Media query*/
@media only screen and (max-width: 576px){
.empty {
height: 0px;
}
img {
width: 90vw;
margin-top: 5%;
}
input, select, textarea {
width: 45vw;
}
#f, #m, #agree {
width: auto;
}
form {
padding: 10px 15px ;
}
footer {
position: relative;
float: right;
margin: 10px;
}
}
@media only screen and (min-width: 576px) and (max-width: 768px) {
img {
width: 68vw;
margin-top: 5%;
}
footer {
position: relative;
float: right;
margin: 20px;
}
}
@media only screen and (min-width: 767.98px) and (max-width: 992px) {
input, select, textarea {
width: 140px;
}
#f, #m, #agree {
width: auto;
}
form {
padding: 10px 5px ;
}
footer {
position: relative;
float: right;
margin: 10px;
}
}