-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
103 lines (86 loc) · 1.5 KB
/
styles.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
body {
margin: 0px;
height: 100vh;
}
#container {
display: flex;
margin: 0%;
background-color: seagreen;
height: 100%;
}
#img {
width: min(960px, 40%);
flex: 1 0 auto;
}
#img img {
border: solid 1px yellow;
border-radius: 1%;
width: min(580px, 100%);
height: auto;
}
#img figcaption {
padding: 4px;
width: fit-content;
}
#img figcaption:hover {
background-color: violet;
}
div#form {
background-color: white;
padding: 20px;
padding-left: max(20px, 5%);
display: flex;
flex-direction: column;
}
#form form {
border: solid 1px lightgray;
margin: 3%;
background-color: azure;
padding: 10px;
border-radius: 2%;
}
#form-container {
height: fit-content;
}
.bold {
padding: 10px 5px 5px;
font-size: 30px;
font-weight: bold;
}
form div {
margin: 3%;
display: flex;
flex-direction: column;
font-size: large;
}
form input {
font-size: large;
width: 60%;
}
form input:focus {
border: 2px solid dodgerblue;
box-shadow: aquamarine;
}
#submit {
width: 20%;
}
#submit button {
font-size: large;
padding: 10px 20px;
border: transparent 0px;
background-color: forestgreen;
color: azure;
}
#submit button:hover {
background-color: lightgray;
color: black;
}
#sign-in {
margin-left: 3%;
padding-left: 20px;
font-size: medium;
}
input#pw:not(:placeholder-shown):invalid,
input#pw-cnfrm:not(:placeholder-shown):invalid {
border: solid 2px red;
}