Skip to content

Commit

Permalink
style: update css for yellow font and apply to sup element
Browse files Browse the repository at this point in the history
  • Loading branch information
readytotest committed Aug 10, 2024
1 parent facd7f6 commit 9329fdd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
36 changes: 20 additions & 16 deletions css/default.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
:root {
--yellow-color: yellow;
}

body {background-color: black;
background-image: url('/html/img/galaxy-animated.gif');
font-family: "Comic Sans MS", "Chalkboard SE-Regular", "Chalkboard", "Comic Neue", Tahoma, sans-serif;
font-size: 15pt;
color: snow;}

.yellowFont {
color: var(--yellow-color);
}

.yellowFont:hover {
color: var(--yellow-color);
}

.yellowFont:active {
color: var(--yellow-color);
}

.yellowFont:visited {
color: var(--yellow-color);
}

pre {
font-family: monospace, "Courier New", Courier;
margin: 0;
Expand Down Expand Up @@ -46,22 +66,6 @@ body {background-color: black;
color: hotpink;
}

#gitHubProfilelink {
color: yellow; /* Default color */
}

#gitHubProfilelink:hover {
color: yellow /* Color when hovered */
}

#gitHubProfilelink:active {
color: yellow /* Color when clicked */
}

#gitHubProfilelink:visited {
color: yellow; /* Color for visited links */
}

#video-embedded {
width: 480px;
height: 270px;
Expand Down
6 changes: 3 additions & 3 deletions index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
</div>
------------------------------------------------------------------------
<br>
<b>Ready to Test (QA) GitHub Profile</b> 👤
<span class="sections" data-testid="github-profile-title"><b>Ready to Test (QA) GitHub Profile</b></span> 👤
<br>
<a href="https://github.com/readytotest" id="gitHubProfilelink" target="_blank" rel="noopener noreferrer">https://github.com/readytotest</a>
<a href="https://github.com/readytotest" target="_blank" rel="noopener noreferrer">https://github.com/readytotest</a>
<br>
<a href ="#repo-list">Down to repo list <span class="arrow" datatest-id="repo-jump-link"></span></a>
<br>
Expand Down Expand Up @@ -120,7 +120,7 @@
<br>
Helper Function 1: <a href="https://github.com/readytotest/test-playwright/blob/main/scripts/verifyTextAndLink.ts" target="_blank" rel="noopener noreferrer">verifyTextAndLink.ts</a>
<br>
<sup>
<sup class="yellowFont">
Verifies an element's text content, visibility, and optionally its `href` attribute.
<br>
The visibility check defaults to true; pass false if you want to verify it's hidden.
Expand Down

0 comments on commit 9329fdd

Please sign in to comment.