Skip to content

Commit

Permalink
Merge pull request #112 from paridhi1509/texts
Browse files Browse the repository at this point in the history
made changes in text colors according to the respective themes
  • Loading branch information
codingkatty authored Oct 18, 2024
2 parents 0d09e4c + 320fd6b commit ea77a47
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
15 changes: 14 additions & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
.container {
width: 80%;
Expand All @@ -27,6 +26,7 @@
background: #282828;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
border-radius: 8px;
color: white;
}
h1, h2 {
text-align: center;
Expand Down Expand Up @@ -55,6 +55,7 @@
.banner h1 {
margin: 0;
font-size: 2em;
color: beige;
}
.section {
margin: 20px 0;
Expand All @@ -72,6 +73,9 @@
flex: 1;
text-align: center;
}
.card p{
color: black;
}
.footer-content {
display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -116,6 +120,15 @@
#nav-top:hover {
background: #3498DB;
}
.title{
color: white;
}
.container h2{
color: beige;
}
.dark-theme .card h3{
color: black;
}
</style>

</head>
Expand Down
4 changes: 2 additions & 2 deletions learn.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ <h2>Python Lessons</h2>
<br>
<p id="copy-message" style="display: none; color: black;">Copied!</p>
</div>
<h2 >Code Input :</h2>
<h2 style="color: black;">Code Input :</h2>
<div id="editor"></div>

<h2>Output :</h2>
<h2 style="color: black;">Output :</h2>
<div id="terminal-container">
<div id="terminal"></div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ body {
transition: background-color 0.3s ease;
animation: fadeIn 1.2s ease-in-out; /* Smooth content load animation */
margin-bottom: 35px;
color: black;
}

@keyframes fadeIn {
Expand All @@ -125,7 +126,7 @@ body {
}

h1, h2, h3, h4 {
color: white;
color: black;
font-weight: 700; /* Bolder titles */
}

Expand Down

0 comments on commit ea77a47

Please sign in to comment.