-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcosmic-cafe.css
98 lines (81 loc) · 1.92 KB
/
cosmic-cafe.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
body {
background-color: black;
margin: 0;
font-family: "Space Grotesk", sans-serif; /* Default font */
}
.audiowide-regular {
font-family: "Audiowide", sans-serif;
font-weight: 400;
font-style: oblique;
}
.flex-container {
display: flex;
flex-direction: column; /* Stack items on small screens */
align-items: center;
}
.flex-item {
align-items: center;
}
.table-container {
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0;
overflow-x: auto; /* Allow horizontal scrolling */
}
h1, h2, p, blockquote {
color: lawngreen;
font-style: oblique;
text-align: center;
text-shadow: 2px 2px 5px silver;
}
h1 {
font-size: 3rem;
}
h2 {
font-size: 2rem;
}
.table {
color: lawngreen;
font-family: "Audiowide", sans-serif;
font-style: oblique;
text-shadow: 2px 2px 5px silver;
width: 100%; /* Full width on smaller screens */
max-width: 600px; /* Limit width on larger screens */
border-collapse: collapse;
}
th, td {
padding: 10px;
border: 1px groove lawngreen; /* Add some borders */
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 600px; /* Responsive width for images */
}
blockquote {
margin: 20px;
}
/* Responsive styles */
@media screen and (max-width: 760px) {
h1 {
font-size: 2.5rem; /* Reduce font size on small screens */
}
h2 {
font-size: 1.5rem; /* Reduce font size on small screens */
}
}
@media screen and (max-width: 560px) {
.responsive {
width: 100%; /* Image takes full width on small screens */
height: auto; /* Maintain aspect ratio */
}
.table {
font-size: 0.9rem; /* Slightly smaller font for table */
}
h1 {
font-size: 1.5rem;
}
}