01Yassine commited on
Commit
f597725
·
verified ·
1 Parent(s): c3ec9ca

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +111 -1
style.css CHANGED
@@ -1,4 +1,4 @@
1
- body {
2
  padding: 2rem;
3
  font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
@@ -25,4 +25,114 @@ p {
25
 
26
  .card p:last-child {
27
  margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* body {
2
  padding: 2rem;
3
  font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
 
25
 
26
  .card p:last-child {
27
  margin-bottom: 0;
28
+ } */
29
+
30
+ /* Base page styles */
31
+ body {
32
+ margin: 0;
33
+ padding: 0;
34
+ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
35
+ background-color: #f5f5f5;
36
+ color: #333;
37
+ line-height: 1.6;
38
+ font-size: 18px; /* larger base font */
39
+ }
40
+
41
+ /* Center the card and set a max width */
42
+ .card {
43
+ max-width: 900px; /* allow wider content */
44
+ margin: 2rem auto;
45
+ padding: 2rem;
46
+ background-color: #fff;
47
+ border-radius: 8px;
48
+ box-shadow: 0 4px 12px rgba(0,0,0,0.1);
49
+ }
50
+
51
+ /* Headings */
52
+ h1 {
53
+ font-size: 2.5rem; /* very large main title */
54
+ margin-bottom: 1rem;
55
+ color: #222;
56
+ text-align: center;
57
+ }
58
+
59
+ h2 {
60
+ font-size: 2rem; /* large section titles */
61
+ margin-top: 2rem;
62
+ margin-bottom: 0.75rem;
63
+ border-bottom: 2px solid #e0e0e0;
64
+ padding-bottom: 0.25rem;
65
+ color: #333;
66
+ }
67
+
68
+ /* Paragraphs, lists, and code blocks */
69
+ p {
70
+ font-size: 1.125rem; /* slightly larger paragraph text */
71
+ margin-bottom: 1rem;
72
+ }
73
+
74
+ ul,
75
+ ol {
76
+ font-size: 1.125rem;
77
+ margin-left: 1.5rem;
78
+ margin-bottom: 1rem;
79
  }
80
+
81
+ li {
82
+ margin-bottom: 0.5rem;
83
+ }
84
+
85
+ pre {
86
+ background-color: #f0f0f0;
87
+ padding: 1rem;
88
+ border-radius: 4px;
89
+ font-family: Consolas, Menlo, Monaco, monospace;
90
+ font-size: 1rem;
91
+ overflow-x: auto;
92
+ }
93
+
94
+ /* Emphasis and blockquote */
95
+ blockquote {
96
+ font-size: 1.125rem;
97
+ margin: 1rem 2rem;
98
+ padding-left: 1rem;
99
+ border-left: 4px solid #ccc;
100
+ color: #555;
101
+ background-color: #fafafa;
102
+ }
103
+
104
+ /* Images */
105
+ .card img {
106
+ max-width: 100%;
107
+ height: auto;
108
+ border-radius: 4px;
109
+ margin: 1rem 0;
110
+ }
111
+
112
+ /* Links */
113
+ a {
114
+ color: #1a73e8;
115
+ text-decoration: none;
116
+ }
117
+
118
+ a:hover {
119
+ text-decoration: underline;
120
+ }
121
+
122
+ /* Responsive adjustments */
123
+ @media (max-width: 600px) {
124
+ .card {
125
+ padding: 1rem;
126
+ margin: 1rem;
127
+ }
128
+ h1 {
129
+ font-size: 2rem;
130
+ }
131
+ h2 {
132
+ font-size: 1.5rem;
133
+ }
134
+ body {
135
+ font-size: 16px;
136
+ }
137
+ }
138
+