-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
84 lines (70 loc) · 1.8 KB
/
styles.css
File metadata and controls
84 lines (70 loc) · 1.8 KB
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
body {
/* font-family: Arial, sans-serif;*/
font-family: "Courier New", Courier, monospace;
padding: 20px;
line-height: 1.25;
color: #333;
display: flex;
justify-content: center;
align-items: flex-start; /* To align content to the top */
height: 100vh; /* Full viewport height */
box-sizing: border-box;
padding: 0 20px; /* Optional: Padding for smaller screens */
}
.content-container {
width: 100%; /* Ensures the container takes full width on mobile */
padding: 0 20px; /* Add some space on the sides for mobile for better readability */
box-sizing: border-box; /* Ensure padding is included in the width */
}
header, section, footer {
margin-bottom: 30px;
}
h1, h2 {
/* border-bottom: 2px solid #333; */
padding-bottom: 10px;
}
ul {
list-style-type: dash;
padding: 0;
}
li {
margin-bottom: 10px;
}
/*ul {
margin: 0;
}
ul.dashed {
list-style-type: none;
}
ul.dashed > li {
text-indent: -20px;
}
ul.dashed > li:before {
content: "-";
text-indent: -20px;
}*/
button {
background-color: #000;
color: #fff;
padding: 10px 15px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #555;
}
#social-media img {
width: 24px;
height: 24px;
margin-right: 10px;
}
/* For screens larger than 768px (typical breakpoint between mobile and tablet/desktop) */
@media (min-width: 768px) {
.content-container {
width: 50%; /* Tightens the width to 70% of the viewport on desktop */
max-width: 1000px; /* Sets an absolute maximum width if you wish */
margin: 0 auto; /* Centers the container horizontally */
padding: 50px; /* Remove the mobile-specific padding */
}
}