Oranblock commited on
Commit
18fa459
·
verified ·
1 Parent(s): e34d7ea

Create static/css/style.css

Browse files
Files changed (1) hide show
  1. static/css/style.css +151 -0
static/css/style.css ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ font-family: Arial, sans-serif;
3
+ line-height: 1.6;
4
+ margin: 0;
5
+ padding: 20px;
6
+ transition: background-color 0.3s, color 0.3s;
7
+ }
8
+
9
+ .dark-mode {
10
+ background-color: #333;
11
+ color: #fff;
12
+ }
13
+
14
+ h1, h2, h3 {
15
+ color: #333;
16
+ }
17
+
18
+ .dark-mode h1, .dark-mode h2, .dark-mode h3 {
19
+ color: #fff;
20
+ }
21
+
22
+ .grid-container {
23
+ display: grid;
24
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
25
+ gap: 20px;
26
+ padding: 20px;
27
+ }
28
+
29
+ .grid-item {
30
+ background-color: #f0f0f0;
31
+ padding: 20px;
32
+ border-radius: 5px;
33
+ }
34
+
35
+ #timer {
36
+ font-size: 48px;
37
+ margin: 20px 0;
38
+ }
39
+
40
+ .button {
41
+ background-color: #4CAF50;
42
+ border: none;
43
+ color: white;
44
+ padding: 10px 20px;
45
+ text-align: center;
46
+ text-decoration: none;
47
+ display: inline-block;
48
+ font-size: 16px;
49
+ margin: 4px 2px;
50
+ cursor: pointer;
51
+ transition: background-color 0.3s;
52
+ }
53
+
54
+ .button:hover {
55
+ background-color: #45a049;
56
+ }
57
+
58
+ input[type="text"], input[type="password"], input[type="number"] {
59
+ width: 100%;
60
+ padding: 12px 20px;
61
+ margin: 8px 0;
62
+ display: inline-block;
63
+ border: 1px solid #ccc;
64
+ border-radius: 4px;
65
+ box-sizing: border-box;
66
+ }
67
+
68
+ .script {
69
+ border: 1px solid #ddd;
70
+ padding: 10px;
71
+ margin-bottom: 10px;
72
+ border-radius: 5px;
73
+ }
74
+
75
+ .script pre {
76
+ white-space: pre-wrap;
77
+ word-wrap: break-word;
78
+ }
79
+
80
+ .tomato-rating {
81
+ font-size: 20px;
82
+ }
83
+
84
+ #task-list {
85
+ list-style-type: none;
86
+ padding: 0;
87
+ }
88
+
89
+ #task-list li {
90
+ margin-bottom: 10px;
91
+ }
92
+
93
+ #task-list input[type="checkbox"] {
94
+ margin-right: 10px;
95
+ }
96
+
97
+ #login-form, #register-form {
98
+ max-width: 300px;
99
+ margin: 0 auto;
100
+ padding: 20px;
101
+ border: 1px solid #ddd;
102
+ border-radius: 5px;
103
+ }
104
+
105
+ #statistics {
106
+ background-color: #f9f9f9;
107
+ padding: 15px;
108
+ border-radius: 5px;
109
+ margin-bottom: 20px;
110
+ }
111
+
112
+ .dark-mode #statistics {
113
+ background-color: #444;
114
+ }
115
+
116
+ #admin-panel {
117
+ background-color: #f0f0f0;
118
+ padding: 20px;
119
+ border-radius: 5px;
120
+ margin-top: 20px;
121
+ }
122
+
123
+ .dark-mode #admin-panel {
124
+ background-color: #555;
125
+ }
126
+
127
+ @media (max-width: 600px) {
128
+ body {
129
+ font-size: 16px;
130
+ padding: 10px;
131
+ }
132
+
133
+ .grid-container {
134
+ grid-template-columns: 1fr;
135
+ }
136
+
137
+ #timer {
138
+ font-size: 60px;
139
+ }
140
+
141
+ .button {
142
+ width: 100%;
143
+ padding: 15px 30px;
144
+ font-size: 18px;
145
+ margin: 10px 0;
146
+ }
147
+
148
+ #settings, #task-manager, #statistics {
149
+ width: 100%;
150
+ }
151
+ }