forked from hugelucker/dfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (90 loc) · 1.63 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
@import url('https://fonts.googleapis.com/css?family=Roboto');
* {
font-family: 'Roboto', sans-serif;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 15px;
}
.matrix {
margin: 20px 0;
}
.matrix__input {
margin: 3px;
padding: 3px;
height: 40px;
width: 40px;
text-align: center;
box-sizing: border-box;
background: #ccc;
border: none;
border-radius: 3px;
cursor: pointer;
transition: all .1s ease-in-out;
}
.matrix__input:hover {
background: #eee;
}
.matrix__input:focus {
outline: none;
}
.matrix__input-active {
background: rgba(46, 204, 113, 0.65);
border: 2px solid rgb(39, 174, 96);
}
.DFS-table {
width: 60%;
}
.DFS-table tr {
width: 100%;
background: rgba(192, 57, 43, .15);
}
.DFS-table tr:nth-child(2n) {
background: rgba(192, 57, 43, .75);
color: #fff;
}
.DFS-table td {
font-size: 1.13rem;
padding: 5px;
height: 100%;
width: 33.3%;
text-align: center;
}
.input {
font-size: 1.3rem;
padding: 5px 10px;
text-align: center;
width: 220px;
height: 45px;
border: none;
border-bottom: 2px solid rgb(192, 57, 43);
margin: 10px 0;
box-sizing: border-box;
}
.input:focus {
outline: none;
}
.button {
font-size: 1.05rem;
padding: 5px 10px;
text-align: center;
width: 220px;
height: 45px;
background: none;
border: 2px solid rgb(192, 57, 43);
border-radius: 3px;
margin-bottom: 10px;
cursor: pointer;
transition: all .15s ease-in-out;
perspective: 800px;
}
.button:hover {
transform: scale(1.07);
}
.button:focus {
outline: none;
box-shadow: inset 0 0 10px rgba(192, 57, 43, .5);
}