1/* =Responsive Structure 2----------------------------------------------- */ 3body.pa-mobile {-webkit-text-size-adjust: 100%;} /* Iphone browser fix*/ 4body.pa-mobile .main {min-height:0;} 5 6@media (max-width: 800px) { 7 body { 8 font-size: .95em; 9 } 10 11 #header, 12 #access, 13 #branding, 14 #bg_image, 15 .topmenu { 16 width: 100%; 17 } 18 19 #header-full, 20 #footer { 21 min-width: 100%; 22 } 23 24 #branding, 25 #bg_image { 26 min-height: 100px; 27 } 28 #branding, #header-container { 29 height: auto; 30 } 31 32 #wrapper, 33 #colophon, 34 #main, 35 article.post, 36 #container, 37 #linky { 38 width: auto; 39 } 40 41 42 #access .menu-header, 43 div.menu { 44 margin: 0 5px; 45 } 46 47 #header-container > div:first-child { 48 height: 100%; 49 } 50 51 #header a#logo { 52 height: 100%; 53 display: block; 54 } 55 56 a#logo img { 57 width: auto; 58 max-width: 90%; 59 height: 80%; 60 } 61 62 .safari a#logo img { 63 max-height: 80px; 64 height: auto; 65 } 66 67 #site-title, 68 #site-description { 69 margin-left: 5px; 70 } 71 72 #header-widget-area { 73 left: 0; 74 position: relative; 75 top: 0; 76 width: 100%; 77 } 78 79 #header-widget-area .yoyo > li { 80 margin-bottom: 2px; 81 } 82 83 #slefts, 84 #srights { 85 display: none; 86 } 87 88 #container[class*='column'] #primary, 89 #container[class*='column'] #secondary, 90 #container[class*='column'] #content { 91 width: 100%; 92 float: none; 93 margin: 0; 94 clear: both; 95 } 96 97 #container[class*='column'] #content { 98 margin-bottom: 20px; 99 } 100 101 article.post, 102 article.page { 103 padding: 1.5em; 104 } 105 106 .footertwo .widget-area, 107 .footerthree .widget-area, 108 .footerfour .widget-area { 109 width: 98%; 110 margin-left: 1%; 111 } 112 113 /* Presentation Page */ 114 #slider { 115 width: auto; 116 height: auto; 117 } 118 119 .nivo-caption { 120 padding: 1em; 121 line-height: 1.3; 122 } 123 124 .nivo-caption h3 { 125 margin-bottom: 0; 126 } 127 128 #front-columns > div { 129 width: 49%; 130 } 131 #front-columns > div.ppcolumn:nth-child(3n), 132 #front-columns > div.ppcolumn:nth-child(4n) { 133 margin-right: 2%; 134 } 135 136 #front-columns > div.ppcolumn:nth-child(2n+2) { 137 margin-right: 0; 138 clear: right; 139 } 140 141 .column-image img { 142 height: auto; 143 max-width: none; 144 } 145 146 #column3 { 147 clear: left; 148 } 149} 150 151@media (max-width: 650px) { 152 153 #branding { 154 height:auto; 155 } 156 157 a#logo img { 158 max-height: 75%; 159 max-width: 90%; 160 width: auto; 161 height: auto; 162 } 163 164 #header-container > div:first-child { 165 margin-top: 10px; 166 } 167 168 .topmenu ul li a { 169 font-size: 0.9em; 170 } 171 172 .entry-meta a , 173 .entry-meta, 174 .comments-link{ 175 font-size: 12px; 176 } 177 178 #header .socials a img { 179 width: 20px; 180 height: 20px; 181 } 182 183 div.post, 184 div.page, 185 div.hentry, 186 .yoyo > li, 187 #comments { 188 padding: 1.5em; 189 } 190 191 #nav-below .nav-previous a { 192 padding-left: 1.5em; 193 } 194 195 #nav-below .nav-next a { 196 padding-right: 1.5em; 197 } 198 199 #main { 200 margin-top: 0; 201 } 202 203 #nav-toggle { 204 display: block; 205 float: left; 206 margin: 0 auto; 207 cursor:pointer; 208 width: 100%; 209 padding: 2px 4%; 210 } 211 212 #nav-toggle span:before { 213 content: "\e820"; 214 font-family: "elusive"; 215 font-size: 16px; 216 height: 40px; 217 line-height: 40px; 218 } 219 220 #access { 221 display: none; 222 margin-top: 0; 223 padding-bottom: 5px; 224 } 225 226 #access .menu ul, 227 #access .menu ul li { 228 width: 100%; 229 margin:0; 230 } 231 232 #access > .menu li ul { 233 position: inherit; 234 margin-top: 0; 235 } 236 237 #access > .menu ul ul { 238 width: 95%; 239 left: 5%; 240 } 241 242 #access > .menu > ul > li > a > span { 243 border-width: 0 0 1px 0; 244 border-style: solid; 245 border-color: rgba(128,128,128,0.3); 246 } 247 248 .parabola-menu-center #access > .menu > ul > li > a > span { 249 text-align: left; 250 } 251 252 #access > .menu ul li > a:not(:only-child) > span:after { 253 font-family:"Elusive"; 254 content: '\e80a'; 255 position: absolute; 256 right: 5px; 257 top: 10px; 258 z-index: 251; 259 -webkit-transition:all .2s ease-in-out; 260 transition:all .2s ease-in-out; 261 } 262 263 #access > .menu ul li:hover > a:not(:only-child) > span:after { 264 top: 20px; 265 opacity: 0; 266 } 267 268 #access > .menu > ul ul > li a:not(:only-child) > span:after { 269 -webkit-transform: rotate(0); 270 -ms-transform: rotate(0); 271 transform: rotate(0); 272 } 273 274 #access > .menu ul li > a:not(:only-child) > span { 275 padding-right: 18px; 276 } 277 278 /* Presentation Page */ 279 .slider-wrapper { 280 margin: 15px auto; 281 } 282 283 #front-text1 h1, 284 #front-text2 h1 { 285 font-size: 2em; 286 line-height: 1.3em; 287 } 288 289 #front-text1 h1 { 290 margin-top: 20px; 291 } 292 293 #front-text2 h1 { 294 margin-bottom: 0; 295 } 296 297 298 #front-columns > div { 299 margin-bottom: 10px; 300 } 301 302 .slider-bullets .nivo-controlNav a { 303 width: 10px; 304 height: 10px; 305 } 306 307 .nivo-directionNav { 308 display: none; 309 } 310 311 .nivo-caption { 312 position: relative; 313 background: transparent; 314 color: inherit; 315 padding: 1.5em; 316 } 317 318 .nivo-caption a { 319 color: inherit; 320 } 321 322} 323 324 325@media (max-width: 480px) { 326 body { 327 font-size: .9em; 328 } 329 330 .topmenu ul { 331 display: table; 332 margin: 0 auto; 333 float: none; 334 } 335 336 .footermenu ul li { 337 display: table; 338 float: none; 339 clear: both; 340 margin: 0 auto; 341 text-align: center; 342 } 343 344 #front-columns > div { 345 width: 100%; 346 margin-bottom: 1em; 347 } 348 349 .magazine-layout #content article.post, 350 .magazine-layout .search #content article { 351 margin: 5px 0; 352 width: 100%; 353 } 354 355 #toTop { 356 bottom: 5px; 357 right: 5px; 358 } 359 360 .theme-default .nivoSlider { 361 background-image: none; 362 } 363 364 .theme-default .nivo-directionNav a { 365 display: none; 366 } 367} 368 369@media (max-width: 400px) { 370 371} 372 373/* taken from inline css */ 374 @media screen and ( max-width: 782px ) { 375 html { margin-top: 0px !important; } 376 #wrapper { margin-top: 46px !important; } 377 /*html { margin-top: 46px !important; }*/ 378 /** html body { margin-top: 46px !important; }*/ 379 } 380 381 382@media (max-width: 650px) { 383 #access, 384 #nav-toggle { 385 background-color: #333333; 386 } 387} 388 389 390@media (max-width: 800px) { 391 #content h1.entry-title, 392 #content h2.entry-title { 393 font-size:34.2px ; 394 } 395 #site-title span a { 396 font-size:43.2px; 397 } 398} 399@media (max-width: 650px) { 400 #content h1.entry-title, 401 #content h2.entry-title { 402 font-size:32.4px ; 403 } 404 #site-title span a { 405 font-size:38.4px; 406 } 407} 408@media (max-width: 480px) { 409 #site-title span a { 410 font-size:28.8px; 411 } 412} 413 414/* FIN */ 415 416/* media manager and config manager for mobile */ 417@media screen and (max-width: 480px){ 418/* for dokuwiki */ 419button { margin: 8px; } 420button img { margin: 3px; } 421#secondary li { margin: 1.35em 0px 0px 0em; } 422 423/* --- */ 424 425 fieldset, 426 #mediamanager__page, 427 #mediamanager__page .filelist{ 428 max-width: 100%; min-width: unset; 429 } 430 #mediamanager__page .file, 431 #mediamanager__page .namespaces, 432 #mediamanager__page .panel { 433 width: 100%; clear: both; float: none; 434 } 435 .page li, .page dd { margin: 1em 0px !important; display: block; } 436 #config__manager tr { } 437 #config__manager td { display: block; padding: 1.15em 0px; max-width: 50%; } 438 439 #config__manager fieldset { width: 100%; box-sizing: border-box; } 440 441 /* make <select> not exceed it's parent div's width */ 442 /* https://stackoverflow.com/q/44810056/337306 */ 443 div.input { display: flex; } select { width: 100%; flex-shrink: 1; } 444 445 #config__manager fieldset td.value { width: unset; } 446 447 #config__manager td .input, 448 #config__manager fieldset td.value, 449 #config__manager td input.edit { 450 max-width: 100%; 451 width: unset; 452 } 453}