Template:Contact/styles.css: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
@media only screen and (min-width: 768px) { | @media only screen and (min-width: 768px) { | ||
.container-contact { | .container-contact { | ||
clear:both; | |||
} | } | ||
} | } |
Revision as of 12:27, 1 May 2022
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 16px;
resize: vertical;
}
input[type=submit] {
background-color: #3498DB;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #45a049;
}
.container-contact {
box-sizing: border-box;
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
}
@media only screen and (min-width: 768px) {
.container-contact {
clear:both;
}
}
@media only screen and (min-width: 1200px) {
.container-contact {
clear:both;
width:100%;
}
}