Skip to content

Commit

Permalink
Replaced with v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PrakharDoneria authored Dec 19, 2023
1 parent 42eb3d6 commit 5835023
Showing 1 changed file with 42 additions and 30 deletions.
72 changes: 42 additions & 30 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,52 +1,64 @@
/* styles.css */

body {
margin: 0;
padding: 0;
font-family: 'Courier New', monospace;
background-color: #282c34; /* Night mode background color */
color: #abb2bf;
}

#editor-container {
display: flex;
height: 100vh;
}

textarea {
width: 100%;
#code {
flex: 1;
height: 100%;
resize: none;
font-size: 16px;
background-color: #1e1e1e; /* Night mode code editor background color */
color: #abb2bf;
border: none;
outline: none;
font-size: 16px;
}

.tab-container {
width: 100%;
text-align: center;
background-color: #2c303c;
padding: 10px 0;
padding: 10px;
}

.tab {
#run-button {
width: 80px;
height: 100%;
font-size: 16px;
background-color: #61afef;
color: #282c34; /* Night mode button text color */
border: none;
cursor: pointer;
transition: background-color 0.3s;
padding: 8px 16px;
color: #ffffff;
}

.tab:hover {
background-color: #3a3e4c;
#run-button:hover {
background-color: #4b8bbe;
}

.tab.active {
background-color: #61afef;
color: #282c34; /* Active tab text color */
#output {
flex: 1;
height: 100%;
padding: 10px;
border: 1px solid #abb2bf;
background-color: #1e1e1e; /* Night mode output background color */
overflow-y: auto;
}

#run-button {
background-color: #3498db;
color: #ffffff;
padding: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
/* Day mode styles (add more styles as needed) */
body.day-mode {
background-color: #f5f5f5;
color: #333;
}

#run-button:hover {
background-color: #2980b9;
#code.day-mode {
background-color: #fff;
color: #333;
}

#output.day-mode {
background-color: #fff;
color: #333;
border-color: #ddd;
}

0 comments on commit 5835023

Please sign in to comment.