diff --git a/css/client.css b/css/client.css index ab9e7aa..e89aaf7 100644 --- a/css/client.css +++ b/css/client.css @@ -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 { @@ -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); diff --git a/css/contest.css b/css/contest.css index cf2dcee..f369649 100644 --- a/css/contest.css +++ b/css/contest.css @@ -14,6 +14,8 @@ } body { + width: 340px; + height: 160px; transition: background-color 0.3s, color 0.3s; overflow: hidden; margin: 0px; @@ -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 { @@ -31,7 +36,8 @@ 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%; @@ -39,7 +45,6 @@ body { transform: translate(-50%, -50%); flex-direction: column; padding: 10px; - border-radius: 10px; width: 320px; background: var(--major-background-color); } diff --git a/js/client.js b/js/client.js index 29dcbc8..d516966 100644 --- a/js/client.js +++ b/js/client.js @@ -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, diff --git a/package.json b/package.json index 6b09d57..0ec98f4 100644 --- a/package.json +++ b/package.json @@ -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",