Skip to content

Commit

Permalink
Added classes specifically for text
Browse files Browse the repository at this point in the history
This is also prep for the primary font.
  • Loading branch information
rogueyoshi committed Mar 25, 2020
1 parent 1220ba2 commit 509e04f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
23 changes: 16 additions & 7 deletions dbfz.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
--dbfz-color-yellow: #ffba00;
}

.dbfz-text-primary {
text-shadow: 0.1em 0.1em black;
}

.dbfz-text-secondary {
font-family: "ProbaPro-Regular";
text-shadow: 0.1em 0.1em black;
}

.dbfz-color-white {
color: var(--dbfz-color-white);
}
Expand All @@ -26,11 +35,9 @@
}

.dbfz-window {
font-size: 200%;
position: relative;
padding: 6px;
font-size: 200%;
font-family: "ProbaPro-Regular";
text-shadow: 0.1em 0.1em black;
color: var(--dbfz-color-white);
}

Expand Down Expand Up @@ -122,10 +129,12 @@
.dbfz-selected:after {
content: "";
position: absolute;
left: -2.75rem;
top: -0.5rem;
width: 1.5em;
height: 1.5em;
left: 0;
top: 0;
width: 2em;
height: 2em;
margin-left: -2em;
margin-top: -0.25em;
background-image: url("images/DBFZ/CmnMenu/tex/window_arrow_key_00.png");
background-repeat: repeat;
background-size: contain;
Expand Down
1 change: 1 addition & 0 deletions demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ h1, ul {

ul {
list-style-type: none;
padding-left: 2em;
}

img {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<link rel="stylesheet" href="dbfz.css" />
<link rel="stylesheet" href="demo.css" />
</head>
<body>
<body class="dbfz-text-secondary">
<div class="dbfz-window">
<h1 class="dbfz-window-title">DBFZ.css</h1>
<div>A work-in-progress recreation of DBFZ's UI elements in CSS.</div>
Expand Down

0 comments on commit 509e04f

Please sign in to comment.