File tree Expand file tree Collapse file tree 4 files changed +15
-9
lines changed
Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1010</ head >
1111< body >
1212 < div class ="container ">
13- < div class ="ribbon ">
13+ <!-- < div class="ribbon">
1414 <span>BETA</span>
1515 </div>
1616 <header>
1717 <img src="steam.png" alt="Steam Logo" class="header-logo">
1818 <span class="header-text">Редактор Steam Разметки</span>
19- </ header >
19+ </header> -->
2020
21- < div class ="buttons ">
21+ < div class ="nav-controls " data-collapsed =" false ">
2222 < button data-tag ="h1 "> H1< span class ="tooltip "> Ctrl + Shift + H</ span > </ button >
2323 < button data-tag ="h2 "> H2</ button >
2424 < button data-tag ="h3 "> H3</ button >
Original file line number Diff line number Diff line change @@ -21,8 +21,10 @@ body {
2121}
2222
2323.container {
24- width : 60% ;
25- max-height : 80vh ;
24+ display : flex;
25+ flex-direction : row;
26+ width : 100% ;
27+ max-height : 100vh ;
2628 overflow-y : auto;
2729 border-radius : 15px ;
2830 padding : 20px ;
@@ -74,19 +76,23 @@ header {
7476 width : auto;
7577}
7678
77- .buttons {
79+ .nav-controls {
7880 padding-bottom : 8px ;
81+ display : grid;
82+ grid-template-columns : repeat (5 , 1fr );
83+ grid-row-gap : 16px ;
84+ grid-column-gap : 8px ;
7985}
8086
81- .buttons button {
87+ .nav-controls button {
8288 position : relative;
83- margin-right : 4px ;
8489 background-color : # 555 ;
8590 border : none;
8691 color : # fff ;
87- padding : 10 px 15 px ;
92+ padding : 12 px 8 px ;
8893 border-radius : 5px ;
8994 cursor : pointer;
95+ height : min-content;
9096}
9197
9298.tooltip {
You can’t perform that action at this time.
0 commit comments