diff --git a/css/style.css b/css/style.css index 36ff7c3..6fb7664 100644 --- a/css/style.css +++ b/css/style.css @@ -37,11 +37,36 @@ body{ color: #fff; } -.form-radio{ - margin-top: 0.5em; +.tree-type{ grid-area: tree-type} + +.input-type{ grid-area: input-type} + +.change-button{grid-area: change-button} + + +.grid-container { + display: grid; + grid-template-areas: + 'tree-type tree-type change-button' + 'input-type input-type change-button'; + gap: 10px; + background-color: #98c1d5; + padding:0.5em 0.5em; + margin-top:0.5em; + margin-bottom: 0.5em; + margin-right: 0.5em; + border: 2px solid black; + border-radius: 3px; } +.button-container { + grid-column: 2; /* Platziert die Button-Container in der zweiten Spalte */ + display: flex; + align-items: center; + justify-content: center; +} + .form-animation{ display: flex; align-items: flex-start; @@ -112,11 +137,8 @@ button{ font-size: 25px; } -#treeInputInsert { - padding:10px 15px; - background-color: #98c1d5; - border: 2px solid black; - border-radius: 3px; +#changeType { + margin-left: 0; /* Reset left margin to align with the radio groups */ } canvas { diff --git a/index.html b/index.html index efbce6a..68f85b4 100644 --- a/index.html +++ b/index.html @@ -1,87 +1,86 @@ -
- -
-
-
- - This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. - |
- - - | -- - | -- - | -- - | -
+
+
+ + This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. + |
+ + + | ++ + | ++ + | ++ + | +