diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 6b88f57..61c7fbf 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -21,10 +21,11 @@ -

Варианты

-

Создать работу

+
+

Создать работу

+
По вариантам @@ -34,25 +35,31 @@ По бригадам
-
- Количество {#if groupTask}бригад{:else}вариантов{/if}: - -
-
+
Название работы:
- +
+ + {#if groupTask}бригад{:else}вариантов{/if} +
+ + +
-

Присоедениться к работе

+
+

Присоедениться к работе

+
-
+
Код подключения:
- + + +
@@ -63,10 +70,25 @@ text-align: center; } + .inputWrap { + display: table; + } + + .inputWrap > input { + display:table-cell; + width:100%; + } + + .btn { + width: 15ch; + } + .startbtns { display: flex; justify-content: space-evenly; justify-items: center; + flex-wrap: wrap; + margin-top: 18vh; } .startbtns > div { @@ -74,7 +96,18 @@ box-shadow: lightgrey 0px 5px 20px; width: 30vw; height: 30vw; - padding: 2vw; + margin-bottom: 10vw; + } + + .cardHeader { + background-color: rgb(240, 240, 240); + border-radius: 8px 8px 0px 0px; + width: 100%; + height: 16%; + margin-bottom: 2vw; + display: flex; + align-items: center; + justify-content: center; } h1 { @@ -84,7 +117,8 @@ } h2 { - padding-bottom: 1em; + margin: 0px; + font-weight: 100; } .inputs { @@ -164,4 +198,11 @@ .slider.round:before { border-radius: 50%; } + + @media only screen and (max-width: 1024px) { + .startbtns > div { + width: 70vw; + height: 70vw; + } + } diff --git a/src/routes/room.svelte b/src/routes/room.svelte index cf9cbf4..2990ff2 100644 --- a/src/routes/room.svelte +++ b/src/routes/room.svelte @@ -108,7 +108,7 @@ {/each} - + Код подключения: {parsed.id} {:else} Loading... {/if} @@ -145,6 +145,7 @@ padding: 0px; height: 2em; margin-bottom: 10px; + overflow: hidden; } .name { @@ -208,20 +209,9 @@ background-color: #f57323; } - .share-footer { - text-align: center; - font-size: small; - position: fixed; - left: 0; - bottom: 0; - width: 100%; - padding-bottom: 10px; - } - - code { - background-color: rgb(240, 240, 240); - border-radius: 3px; - padding: 3px 7px 3px 7px; - font-size: medium; + @media only screen and (max-width: 1024px) { + ol { + width: 90%; + } } \ No newline at end of file diff --git a/static/global.css b/static/global.css index bb28a94..5b45416 100644 --- a/static/global.css +++ b/static/global.css @@ -61,3 +61,20 @@ button:not(:disabled):active { button:focus { border-color: #666; } + +.footer { + text-align: center; + font-size: small; + position: fixed; + left: 0; + bottom: 0; + width: 100%; + padding-bottom: 10px; +} + +code { + background-color: rgb(240, 240, 240); + border-radius: 3px; + padding: 3px 7px 3px 7px; + font-size: medium; +} \ No newline at end of file