-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (92 loc) · 2.06 KB
/
style.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
body {
margin: 0;
}
body *:not(textarea) {
font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
}
h1 {
color: white;
background-color: rgb(90, 90, 90);
padding: 1rem;
margin: 0%;
font-weight: normal;
}
form {
margin-left: 1rem;
margin-bottom: 1rem;
}
fieldset {
border-right: 1px solid rgba(211, 211, 211, 0.3);
border-bottom: 1px solid rgba(211, 211, 211, 0.3);
border-left: 1px solid rgba(211, 211, 211, 0.3);
max-width: 50%;
min-width: 50ch;
margin-top: 2rem;
}
legend {
color: blue;
font-size: 1.25rem;
font-weight: bold;
}
#pers {
border-top: 1px solid lightgrey;
padding-bottom: 2rem;
}
#prod {
border-top: 1px solid rgba(211, 211, 211, 0.3);
border-bottom: 1px solid lightgrey;
padding-bottom: 1.5rem;
}
#pers :is(label, input, textarea), #prod > label, #prod > label > *, #start, #end, #cat{
display: block;
}
#pers label {
font-weight: bolder;
margin-top: 0.5rem;
}
#pers :is(input, textarea), #start, #end, #cat {
box-sizing: border-box;
width: 100%;
border: 1px solid lightgrey;
border-radius: 0.25rem;
}
#pers input:focus, #pers textarea:focus, #start:focus, #end:focus, #cat:focus {
outline: 1px solid blue;
}
#pers textarea {
height: 5rem;
resize: none;
}
#pers label:nth-child(even), #pers textarea {
--winkel: -2deg;
}
#pers label:nth-child(odd) {
--winkel: 2deg;
}
#pers input:focus, #pers textarea:focus {
background-color: lightcyan;
outline: 2px solid lightskyblue;
transform: rotate(var(--winkel)) scale(1.05);
}
#pers label:nth-child(odd) input:focus {
transform: rotate(var(--winkel)) scale(1.05) translateY(10px) ;
}
span {
font-weight: bolder;
}
#prod label {
margin-top: 0.5rem;
}
button {
padding: 0.5rem 1rem;
border-radius: 0.5rem;
color: white;
background-color: rgb(99, 185, 99);
border: 1px solid rgb(99, 185, 99);
margin-top: 1.5rem;/*
margin-left: 1rem; */
}
button:hover {
box-shadow: 0 0 0.5rem darkgreen inset;
border: 1px solid darkgreen;
}