-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.css
119 lines (99 loc) · 1.87 KB
/
demo.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
body {
max-width: 60%;
font-family: 'Krub', sans-serif;
font-size: 1.5em;
padding: 0 2em;
background-color: #CBD0B9;
margin:0 auto;
}
h1 {
font-family: 'Krub', sans-serif;
text-align: center;
color: #514B23;
}
table {
text-align: center;
width:100%;
margin-top:1em;
margin-bottom:3em;
}
th {
background-color: #656839;
color: #fff;
font-weight: bold;
padding: .2em .5em;
}
td {
padding: .2em .5em;
}
tr td:last-child {
background-color: #80826E;
color: #fff;
}
tr td:last-child:hover {
cursor: pointer;
}
tr:nth-child(even) {
background-color: #CBC9AD;
}
tr:nth-child(odd) {
background-color: #B3B59A;
}
form {
display:flex;
flex-wrap:wrap;
justify-content:center;
}
form span {flex-basis:20%;margin:.2em 0;}
form input[type=text] {flex-basis:60%;}
form input[type=submit], form #pro {flex-basis:30%; margin:.5em .1em 0; text-align:center;}
input[type=submit], #pro {
font-family: 'Krub', sans-serif;
color: #fff;
font-size: 1.5rem;
outline: none;
border: 0;
background-color: #514B23;
padding: .5em;
border-radius: 1em;
}
input[type=submit]:hover, #pro {
cursor: pointer;
}
input[type=text] {
padding: .5em;
margin:.2em 0;
}
ul {
display: flex;
flex-direction: column;
flex-wrap: wrap;
max-height: 8em;
}
.selite {
display:inline-block;
width:calc(100% - 2em);
padding: 1em;
text-align: center;
font-weight:bold;
}
.pro {
color:#fff;
background-color: #9E9244;
border-radius:1em;
padding:.1em .5em;
font-size:.9em;
}
.salainen {
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
z-index:10;
background-color:rgba(128,130,110,.95);
display:none;
}
.salainensisalto {font-size:1.5em;margin: 0 auto; width:50%; height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.salainen .salainensisalto form {flex-direction:column; margin: 0 auto;}
.salainensisalto input[type=text] {font-size:1.5rem;}