Skip to content

Commit 637ced4

Browse files
committed
Added attentions
1 parent 8daf894 commit 637ced4

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# !Feedback!
2+
If this framework is missing anything you would like to have, please, let me know. Open up an issue or create a pull request.
3+
14
# cyberpunk-css
25
A pure CSS library providing Cyberpunk 2077 themed elements for your webpage.
36

cyberpunk.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,28 @@ body
131131
bottom: -.25em;
132132
left: -.15em;
133133
}
134+
135+
.cyber-att
136+
{
137+
color: var(--red);
138+
font-size: 1.2rem;
139+
font-weight: bold;
140+
border: 3px solid var(--red);
141+
text-shadow: 0 0 4px var(--red);
142+
padding: 6px;
143+
}
144+
145+
.cyber-att-2
146+
{
147+
background-color: var(--red);
148+
color: var(--yellow);
149+
text-shadow: 0 0 6px var(--yellow);
150+
font-size: 1.2rem;
151+
font-weight: bold;
152+
border: 3px solid var(--red);
153+
padding: 6px;
154+
}
155+
134156
/*#endregion*/
135157

136158
/*#region colors*/

demo/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,17 @@ <h3 class="cyber-h">Cyberpunk</h3>
241241
<i>Hint: </i>
242242
This font doesnt look good with small font sizes. To recreate the logo you have to do an a few tweaks in CSS. Take a look at the very top of this page for an example
243243
<div class="cyberpunk-font" style="font-size: 42px;">Cyberpunk</div> 42px
244+
245+
<h3 class="cyber-h">Attention!</h3>
246+
<p>
247+
Use the <code>.cyber-att</code> and <code>.cyber-att-2</code> classes to get some attention!
248+
</p>
249+
<p>
250+
<span class="cyber-att">Attention! Danger up ahead .cyber-att</span>
251+
</p>
252+
<p>
253+
<span class="cyber-att-2">Attention! Danger up ahead .cyber-att-2</span>
254+
</p>
244255
<!-- #endregion -->
245256

246257
<!-- #region Headings -->

0 commit comments

Comments
 (0)