Debian Codegraph @

html/desktop/style.css

raw symbols SCIP
1 /* Style inputs, select elements and textareas */
2 input[type=text], input[type=password], select, textarea {
3 width: 100%;
4 padding: 12px;
5 border: 1px solid #ccc;
6 border-radius: 4px;
7 box-sizing: border-box;
8 }
9
10
11 /* Style the submit button */
12 input[type=submit] {
13 background-color: #4CAF50;
14 color: white;
15 padding: 12px 20px;
16 border: none;
17 border-radius: 4px;
18 cursor: pointer;
19 float: left;
20 }
21
22 /* Style the container */
23 .container {
24 border-radius: 5px;
25 background-color: #f2f2f2;
26 padding: 20px;
27 }
28
29 /* Floating column for labels: 25% width */
30 .col-25 {
31 float: left;
32 width: 25%;
33 margin-top: 6px;
34 }
35
36 /* Floating column for labels: 50% width */
37 .col-50 {
38 float: left;
39 width: 50%;
40 margin-top: 6px;
41 }
42
43 /* Floating column for inputs: 75% width */
44 .col-75 {
45 float: left;
46 width: 75%;
47 margin-top: 6px;
48 }
49
50 /* Clear floats after the columns */
51 .row:after {
52 content: "";
53 display: table;
54 clear: both;
55 }
56
57 /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
58 @media screen and (max-width: 800px) {
59 .col-25, col-50, .col-75, input[type=submit] {
60 width: 100%;
61 margin-top: 0;
62 }
63 }