DhruvDecoder commited on
Commit
d02ca82
·
verified ·
1 Parent(s): eee5741

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +102 -18
style.css CHANGED
@@ -1,28 +1,112 @@
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
 
1
  body {
2
+ font-family: 'Arial', sans-serif;
3
+ background-color: #1a1a2e;
4
+ color: #ffffff;
5
+ line-height: 1.6;
6
+ margin: 0;
7
+ padding: 0;
8
  }
9
 
10
+ .container {
11
+ max-width: 1200px;
12
+ margin: 0 auto;
13
+ padding: 20px;
14
  }
15
 
16
+ header {
17
+ background-color: #16213e;
18
+ padding: 20px;
19
+ border-radius: 10px;
20
+ margin-bottom: 20px;
21
  }
22
 
23
+ h1, h2 {
24
+ color: #e94560;
 
 
 
 
25
  }
26
 
27
+ nav ul {
28
+ list-style-type: none;
29
+ padding: 0;
30
+ }
31
+
32
+ nav ul li {
33
+ display: inline;
34
+ margin-right: 20px;
35
+ }
36
+
37
+ nav ul li a {
38
+ color: #ffffff;
39
+ text-decoration: none;
40
+ }
41
+
42
+ section {
43
+ background-color: #16213e;
44
+ padding: 20px;
45
+ border-radius: 10px;
46
+ margin-bottom: 20px;
47
+ }
48
+
49
+ #animeList, #genreList, #quizOptions {
50
+ display: flex;
51
+ flex-wrap: wrap;
52
+ gap: 10px;
53
+ margin-bottom: 20px;
54
+ }
55
+
56
+ .anime-item, .genre-item, #quizOptions button {
57
+ background-color: #0f3460;
58
+ color: #ffffff;
59
+ padding: 10px 15px;
60
+ border-radius: 5px;
61
+ cursor: pointer;
62
+ transition: background-color 0.3s;
63
+ border: none;
64
+ }
65
+
66
+ .anime-item:hover, .genre-item:hover, #quizOptions button:hover {
67
+ background-color: #e94560;
68
+ }
69
+
70
+ .anime-item.selected, .genre-item.selected {
71
+ background-color: #e94560;
72
+ }
73
+
74
+ button {
75
+ background-color: #e94560;
76
+ color: #ffffff;
77
+ border: none;
78
+ padding: 10px 20px;
79
+ border-radius: 5px;
80
+ cursor: pointer;
81
+ font-size: 1rem;
82
+ transition: background-color 0.3s;
83
+ margin-right: 10px;
84
+ }
85
+
86
+ button:hover {
87
+ background-color: #ff6b6b;
88
+ }
89
+
90
+ #recommendations, #quoteContainer, #quizContainer {
91
+ background-color: #0f3460;
92
+ padding: 20px;
93
+ border-radius: 5px;
94
+ margin-top: 20px;
95
+ }
96
+
97
+ #quoteText {
98
+ font-style: italic;
99
+ font-size: 1.2em;
100
+ margin-bottom: 10px;
101
+ }
102
+
103
+ #quoteAuthor {
104
+ font-weight: bold;
105
+ text-align: right;
106
+ }
107
+
108
+ footer {
109
+ text-align: center;
110
+ margin-top: 40px;
111
+ color: #888;
112
  }