Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions css/client.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@
--editor-font-family: 'Consolas', 'Fira Code', 'Source Code Pro', 'Lucida Console', 'Cascadia Code', 'Ubuntu Mono', monospace, sans-serif;
}

html {
width: 1016px;
height: 674px;
border-radius: 8px;
}

body {
width: 1000px;
height: 658px;
transition: background-color 0.3s, color 0.3s;
overflow: hidden;
margin: 0px;
color: var(--major-font-color);
border-radius: 8px;
}

.HtmlContainer {
Expand All @@ -20,7 +28,8 @@ body {
font-family: var(--font-family);
-webkit-app-region: drag;
transition: background-color 0.3s, color 0.3s;
border-radius: 5px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
border-radius: 8px;
display: flex;
flex-direction: column;
background: var(--major-background-color);
Expand Down
9 changes: 7 additions & 2 deletions css/contest.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
}

body {
width: 340px;
height: 160px;
transition: background-color 0.3s, color 0.3s;
overflow: hidden;
margin: 0px;
Expand All @@ -22,6 +24,9 @@ body {

:root {
--font-family: 'Consolas', 'Fira Code', 'Source Code Pro', 'Lucida Console', 'Cascadia Code', 'Ubuntu Mono', monospace, sans-serif;
width: 356px;
height: 176px;
border-radius: 8px;
}

.HtmlContainer {
Expand All @@ -31,15 +36,15 @@ body {
font-family: var(--font-family);
-webkit-app-region: drag;
transition: background-color 0.3s, color 0.3s;
border-radius: 5px;
border-radius: 8px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
display: inline-flex;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
flex-direction: column;
padding: 10px;
border-radius: 10px;
width: 320px;
background: var(--major-background-color);
}
Expand Down
4 changes: 2 additions & 2 deletions js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2675,8 +2675,8 @@ $(".singleOpenSmallWindow").click(function() {
nw.Window.open("contest.html", {
"title": "Codeforces Contest Helper",
"icon": "favicon.png",
"width": 340,
"height": 160,
"width": 356,
"height": 176,
"position": "center",
"resizable": false,
"fullscreen": false,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"title": "Codeforces Contest Helper v2",
"resizable": false,
"show_in_taskbar": true,
"width": 1000,
"height": 658,
"width": 1016,
"height": 674,
"toolbar": true,
"as_desktop": false,
"position": "center",
Expand Down