Skip to content

Commit bc0f6c4

Browse files
authored
Update SimpliCSS.css
1 parent 2331b07 commit bc0f6c4

1 file changed

Lines changed: 67 additions & 1 deletion

File tree

SimpliCSS/SimpliCSS.css

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@
2323
--flat-concrete: #95a5a6;
2424
}
2525

26+
/* Typography */
27+
.font-sans { font-family: sans-serif; }
28+
.font-serif { font-family: serif; }
29+
.font-mono { font-family: monospace; }
30+
31+
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
32+
2633
/* Color Texts */
2734
.text-blue { color: var(--blue); }
2835
.text-green { color: var(--green); }
@@ -31,6 +38,7 @@
3138
.text-cyan { color: var(--cyan); }
3239
.text-light { color: var(--gray-light); }
3340
.text-dark { color: var(--gray-dark); }
41+
3442

3543
/* Flat UI Color Texts */
3644
.text-flat-turquoise { color: var(--flat-turquoise); }
@@ -52,6 +60,9 @@
5260
.bg-cyan { background-color: var(--cyan); }
5361
.bg-light { background-color: var(--gray-light); }
5462
.bg-dark { background-color: var(--gray-dark); }
63+
.bg-blue-100 { background-color: #bbdefb; }
64+
.bg-blue-200 { background-color: #90caf9; }
65+
.bg-blue-300 { background-color: #64b5f6; }
5566

5667
/* Flat UI Background Colors */
5768
.bg-flat-turquoise { background-color: var(--flat-turquoise); }
@@ -69,7 +80,14 @@
6980
.rounded-sm { border-radius: 4px; }
7081
.rounded-md { border-radius: 8px; }
7182
.rounded-lg { border-radius: 12px; }
72-
.rounded-full { border-radius: 9999px; }
83+
.rounded-full { border-radius: 50%; }
84+
85+
/* Width and Height */
86+
.w-1 { width: 10%; }
87+
.w-2 { width: 20%; }
88+
.w-3 { width: 30%; }
89+
.w-4 { width: 40%; }
90+
.w-5 { width: 50%; }
7391

7492
/* Width and Height */
7593
.w-full { width: 100%; }
@@ -83,6 +101,7 @@
83101
.m-1 { margin: 8px; }
84102
.m-2 { margin: 16px; }
85103
.m-3 { margin: 24px; }
104+
.m-4 { margin: 16px; }
86105

87106
.p-0 { padding: 0; }
88107
.p-1 { padding: 8px; }
@@ -100,6 +119,20 @@
100119
.items-center { align-items: center; }
101120
.items-end { align-items: flex-end; }
102121

122+
/* Flexbox Enhancements */
123+
.flex-1 { flex: 1; }
124+
.flex-auto { flex: auto; }
125+
.flex-initial { flex: initial; }
126+
127+
/* Grid Enhancements */
128+
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
129+
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
130+
131+
/* Gap in grid and flex */
132+
.gap-1 { gap: 4px; }
133+
.gap-2 { gap: 8px; }
134+
135+
103136
/* Grid */
104137
.grid { display: grid; }
105138
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
@@ -117,16 +150,49 @@
117150
.text-left { text-align: left; }
118151
.text-right { text-align: right; }
119152

153+
/* Hover, Focus, Active States */
154+
.hover\:text-blue-500:hover { color: #3498db; }
155+
.focus\:bg-green-500:focus { background-color: #2ecc71; }
156+
.active\:border-red-500:active { border-color: #e74c3c; }
157+
120158
/* Transform */
121159
.scale:hover { transform: scale(1.05); transition: transform 0.2s ease-in-out; }
122160
.rotate-45 { transform: rotate(45deg); }
161+
/* Transitions and Animations */
162+
.transition { transition: all 0.3s ease-in-out; }
163+
.transition-colors { transition: color 0.3s ease-in-out; }
164+
.transition-bg { transition: background-color 0.3s ease-in-out; }
123165

124166
/* Shadows */
125167
.shadow-sm { box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); }
126168
.shadow-md { box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); }
127169
.shadow-lg { box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2); }
170+
/* Display */
171+
.hidden { display: none; }
172+
.block { display: block; }
173+
.inline { display: inline; }
174+
.inline-block { display: inline-block; }
175+
176+
/* Visibility */
177+
.visible { visibility: visible; }
178+
.invisible { visibility: hidden; }
179+
180+
/* Responsive Widths */
181+
.sm\:w-1 { width: 10%; }
182+
.sm\:w-2 { width: 20%; }
128183

129184
/* Media Queries */
185+
@media (min-width: 640px) {
186+
.sm\:w-full { width: 100%; }
187+
}
188+
@media (min-width: 768px) {
189+
.md\:w-full { width: 100%; }
190+
}
191+
@media (min-width: 1024px) {
192+
.lg\:w-full { width: 100%; }
193+
}
194+
195+
130196
@media (max-width: 640px) {
131197
.sm\:text-lg { font-size: 18px; }
132198
.sm\:w-full { width: 100%; }

0 commit comments

Comments
 (0)