summaryrefslogtreecommitdiff
path: root/style.css
blob: 82a09f564f61c8412624e69f93298ac3ba4dd976 (plain)
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
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: #f0f0f0;
    font-family: Arial, sans-serif;
}

#button-container {
    display: none;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f5f5f5;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.rating-button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rating-button:hover {
    background-color: #e0e0e0;
}

.status-section {
    position: fixed;
    top: 0;
    right: 0;
    background-color: #f0f8ff; /* Light blue for subtle color coding */
    padding: 10px 16px;
    font-size: 14px;
    color: #000;
    border-bottom-left-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.status-section div {
    margin: 2px 0;
}

/* Basic styling for the toast */
#toast {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
}

#toast.show {
    opacity: 1;
    visibility: visible;
}

#flashcard {
    display: none;
    padding: 16px;
    background: #fff;
    border-radius: 4px;
    filter: drop-shadow(2px 2px 5px gray);
    box-shadow: 2px 2px 5px gray;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.banner {
    position: fixed;
    width: 100%;
    color: white;
    text-align: center;
    font-weight: bold;
    line-height: 16px;
    font-size: 12px;
    z-index: 100;
}

.top-banner {
    top: 0;
    background-color: #008000;
}

.bottom-banner {
    bottom: 0;
    background-color: #008000;
}

.content {
    padding: 20px;
    max-width: 800px;
    margin: auto;
}