@@ -13,6 +13,12 @@ $container-max-width: 1100px !default;
1313/* *
1414 * Global
1515 */
16+
17+ /* Set WebTUI --font-size variable using the SCSS variable */
18+ :root {
19+ --font-size : #{$base-font-size } ;
20+ }
21+
1622body {
1723 background-color : var (--background-color );
1824 margin : 0 auto ;
@@ -56,14 +62,14 @@ a:hover {
5662 font-size : $mobile-font-size !important ;
5763 }
5864 .container {
59- padding : 0 10 px ;
65+ padding : 0 8 px ;
6066 }
61- .menu ul li {
62- display : block ;
63- margin-left : 0 ;
67+ .tui-titlebar {
68+ flex-wrap : wrap ;
69+ gap : 4 px ;
6470 }
65- .menu ul li a {
66- padding : 12 px ;
71+ .tui-nav {
72+ flex-wrap : wrap ;
6773 }
6874}
6975
8591footer {
8692 color : var (--text-color );
8793 border-top : var (--border );
88- margin : 20px auto 15px ;
94+ margin : 20px auto 15px 0 ;
8995 padding-top : 10px ;
9096 text-align : right ;
91- }
92- header {
93- margin-top : 25px ;
94- margin-bottom : 10px ;
95- }
96- header p {
97- text-align : left ;
98- margin : 0 ;
99- }
100- footer {
10197 margin-bottom : 20px ;
10298}
99+ .tui-footer-links {
100+ margin-bottom : 8px ;
101+ }
103102
104103/* *
105104 * Accessibility
@@ -198,36 +197,92 @@ footer {
198197}
199198
200199/* *
201- * Header/Navigation
200+ * Header/Navigation — WebTUI style
202201 */
203- .menu {
202+ .tui-header {
203+ margin-top : 25px ;
204+ margin-bottom : 20px ;
205+ }
206+ .tui-titlebar {
207+ display : flex ;
208+ align-items : center ;
209+ gap : 0 ;
204210 border-top : var (--border );
205211 border-bottom : var (--border );
206- margin-bottom : 25px ;
212+ padding : 6px 0 ;
213+ flex-wrap : wrap ;
207214}
208- .menu ul {
209- margin-top : 12px ;
210- margin-bottom : 12px ;
211- padding-left : 0px ;
212- list-style-type : none ;
213- text-align : center ;
215+ .tui-titlebar-left {
216+ padding : 4px 12px ;
217+ border-right : var (--border );
218+ white-space : nowrap ;
219+ font-weight : bold ;
220+ }
221+ .tui-titlebar-left a {
222+ text-decoration : none ;
223+ color : var (--text-color );
224+ }
225+ .tui-titlebar-left a :hover {
226+ color : var (--background-color );
227+ background-color : var (--base-color );
214228}
215- .menu ul li {
216- display : inline ;
217- margin-left : 10px ;
229+ .tui-nav {
230+ display : flex ;
231+ align-items : center ;
232+ flex : 1 ;
233+ flex-wrap : wrap ;
234+ padding : 0 8px ;
235+ gap : 2px ;
218236}
219- .menu ul li a {
237+ .tui-nav-link {
220238 text-decoration : none ;
221239 color : var (--text-color );
222- padding : 8px ;
223- min-height : 44px ;
240+ padding : 4px 8px ;
224241 display : inline-block ;
242+ min-height : 32px ;
243+ line-height : 24px ;
225244}
226- .menu ul li a :hover {
245+ .tui-nav-link :hover {
227246 text-decoration : none ;
228247 color : var (--background-color );
229248 background-color : var (--base-color );
230249}
250+ .tui-search {
251+ padding : 0 8px ;
252+ border-left : var (--border );
253+ }
254+ .tui-search input [type = " text" ] {
255+ background-color : var (--background-color );
256+ color : var (--text-color );
257+ border : 1px solid var (--base-color );
258+ padding : 4px 8px ;
259+ font-family : $base-font-family ;
260+ font-size : $base-font-size ;
261+ min-width : 160px ;
262+ width : auto ;
263+ min-height : unset ;
264+ caret-color : var (--text-color );
265+ }
266+ .tui-search input [type = " text" ]::placeholder {
267+ color : var (--placeholder-color );
268+ }
269+ .tui-search input [type = " text" ]:focus {
270+ outline : 2px solid var (--base-color );
271+ outline-offset : 1px ;
272+ }
273+
274+ @media only screen and (max-width : 768px ) {
275+ .tui-search input [type = " text" ] {
276+ min-width : 100px ;
277+ }
278+ }
279+
280+ /* *
281+ * Main content — TUI panel
282+ */
283+ .tui-main {
284+ padding : 0 ;
285+ }
231286
232287/* *
233288 * Form
0 commit comments