-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
108 lines (92 loc) · 1.83 KB
/
styles.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
107
108
/* Default Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Style */
body {
font-family: 'Lora', serif;
line-height: 1;
background-color: #F4F7F8;
color: #555;
}
/* Header Style */
header {
text-align: center;
padding: 40px;
background-color: #F4F7F8;
color: #555;
}
h1 {
margin: 0;
}
/* Container for Content Text */
.container1 {
display: flex;
justify-content: space-between;
padding: 10px;
max-width: 1200px;
margin: 0 auto;
}
/* Columns of Conent Text */
.column {
flex: 1;
padding: 10px;
background-color: #F4F7F8;
margin: 0 10px;
border-radius: 8px;
}
/* Column Headings */
.column h2 {
margin-bottom: 10px;
color: #1D1D1D;
}
/* List Styling N/A
ul {
list-style-type: none;
}
ul li {
margin: 10px 0;
}
*/
/* Responsive Design for smaller screens */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.column {
margin-bottom: 20px;
}
}
/* Header/Timer Formatting */
/*Timer & Header Text Containter*/
.container2 {
display: flex;
justify-content: center;
align-items: center;
font-family: 'Lora', serif;
padding: 20px;
}
/* "I'm a" */
.text {
font-size: 24px;
color: #555;
margin-right: 10px; /* Space between "I'm a" and the timer */
}
/* Timer, Stationary (hopefully)*/
.timer {
font-size: 24px;
color: #555;
width: 150px; /* Fixed width to prevent shifting */
text-align: left;
white-space: nowrap; /* Prevent text wrapping */
overflow: hidden; /* Ensure overflow is handled */
}
/* "year-old........" */
.year-old {
font-size: 24px;
color: #555;
margin-left: 6px; /* Space between the timer and the long text */
white-space: nowrap; /* Prevent wrapping if needed */
}