default.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907
  1. /*
  2. * This file is part of the LibreOffice project.
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. *
  8. * This file incorporates work covered by the following license notice:
  9. *
  10. * Licensed to the Apache Software Foundation (ASF) under one or more
  11. * contributor license agreements. See the NOTICE file distributed
  12. * with this work for additional information regarding copyright
  13. * ownership. The ASF licenses this file to you under the Apache
  14. * License, Version 2.0 (the "License"); you may not use this file
  15. * except in compliance with the License. You may obtain a copy of
  16. * the License at http://www.apache.org/licenses/LICENSE-2.0 .
  17. */
  18. /*
  19. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  20. + LIBREOFFICE HELP IN BROWSER +
  21. + DEFAULT STYLESHEET +
  22. + WESTERN LANGUAGES +
  23. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  24. We use px as the unit for navigation elements and fonts because we do
  25. not want them to scale with browser-set font size.
  26. We use rem as the unit for article and footer contents because they
  27. do not break anything related to layout by scaling.
  28. */
  29. body,
  30. p,
  31. h1,
  32. h2,
  33. h3,
  34. h4,
  35. h5,
  36. h6,
  37. .listitem,
  38. .listitemintable,
  39. .tablecontent {
  40. font-family: -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom;
  41. }
  42. .input {
  43. background-color: rgba(0,0,0,0.04);
  44. transition-property: background-color;
  45. transition-duration: 150ms;
  46. border-bottom: 1px dashed rgba(0,0,0,0.1);
  47. font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
  48. }
  49. [data-tooltip]{
  50. position:relative;
  51. }
  52. [data-tooltip]::before {
  53. content: "";
  54. position: absolute;
  55. top:-6px;
  56. left:50%;
  57. transform: translateX(-50%);
  58. border-width: 4px 6px 0 6px;
  59. border-style: solid;
  60. border-color: rgba(0,0,0,0.7) transparent transparent transparent;
  61. z-index: 100;
  62. opacity: 0;
  63. pointer-events: none;
  64. }
  65. [data-tooltip]::after {
  66. content: attr(data-tooltip);
  67. position: absolute;
  68. left:50%;
  69. top:-6px;
  70. transform: translateX(-50%) translateY(-100%);
  71. background: rgba(0,0,0,0.7);
  72. text-align: center;
  73. color: #fff;
  74. padding:4px 2px;
  75. font-size: 12px;
  76. min-width: 80px;
  77. border-radius: 5px;
  78. opacity: 0;
  79. pointer-events: none;
  80. }
  81. [data-tooltip]:hover:before, [data-tooltip]:hover:after {
  82. opacity: 1;
  83. pointer-events: auto;
  84. }
  85. body {
  86. background-color: #F7F8F7;
  87. margin: 0;
  88. line-height: normal;
  89. }
  90. ::selection {
  91. background: #FFEB9F;
  92. }
  93. a {
  94. text-decoration-color: rgba(0,0,0,0.15);
  95. color: #0461e0;
  96. }
  97. a:hover {
  98. text-decoration: underline;
  99. color: #023a86;
  100. }
  101. a:visited {
  102. color: #633363;
  103. }
  104. pre,
  105. .code,
  106. .codeintable,
  107. .example,
  108. .exampleintable,
  109. .literal,
  110. .literalintable,
  111. .path,
  112. .pathintable {
  113. background-color: rgba(0,0,0,0.04);
  114. border-radius: 2px;
  115. display: inline;
  116. padding: 1px 3px;
  117. font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
  118. }
  119. .smathcode {
  120. border-radius: 2px;
  121. padding: 1px 3px;
  122. font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
  123. }
  124. .acronym {
  125. font-weight: bold;
  126. }
  127. .related {
  128. font-weight: bold;
  129. margin-top: 1.67rem;
  130. border-top: 1px solid black;
  131. }
  132. .emph,
  133. .menuitem {
  134. font-weight: bold;
  135. }
  136. .keycode {
  137. font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
  138. }
  139. .widget{
  140. padding: 1px 10px;
  141. background: #f0f0f0;
  142. background: linear-gradient(to bottom,#f0f0f0,#fcfcfc);
  143. border-radius: 3px;
  144. color: #303030;
  145. border: 1px solid #a0a0a0;
  146. border-bottom-width: 2px;
  147. white-space: nowrap;
  148. }
  149. /* div's for warning, tip and note */
  150. .note,
  151. .tip,
  152. .warning {
  153. display:flex;
  154. align-items: center;
  155. border-radius: 2px;
  156. box-shadow: 0 2px 5px -3px rgb(0 0 0 / 10%);
  157. padding: 0.2em;
  158. margin-top: 15px;
  159. }
  160. .note {
  161. border-left: 2px solid #309048;
  162. background-color: #d9f1dd;
  163. }
  164. .tip {
  165. border-left: 2px solid #0063b1;
  166. background-color: #cde5f7;
  167. }
  168. .warning {
  169. border-left: 2px solid #ed8733;
  170. background-color: #f6f1d2;
  171. }
  172. .noteicon, .notetext {
  173. padding:0.3em;
  174. }
  175. /* Table related classes */
  176. /* Special case of table with one cell*/
  177. .onecell{
  178. box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px;
  179. border-bottom: 1px solid #E8E8E8;
  180. }
  181. /* Special case of icon table*/
  182. .icontable {
  183. display:flex;
  184. align-items:center;
  185. }
  186. .iconcell {
  187. padding:0.3em;
  188. }
  189. table {
  190. background: #FEFEFE;
  191. box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0;
  192. border-collapse: collapse;
  193. margin-left: auto;
  194. margin-right: auto;
  195. }
  196. table, th, td {
  197. border-top: 0;
  198. border-bottom: 1px solid #E8E8E8;
  199. border-left: 0;
  200. border-right: 0;
  201. padding: 0.3em;
  202. }
  203. .tablehead,
  204. .tableheadintable {
  205. font-weight: bold;
  206. margin-top: 0px;
  207. }
  208. .tableheadcell {
  209. color: white;
  210. vertical-align:top;
  211. }
  212. h1,
  213. h2,
  214. h3,
  215. h4,
  216. h5,
  217. h6 {
  218. margin-bottom: 0.67rem;
  219. color: #148603;
  220. }
  221. p,
  222. ol,
  223. td {
  224. font-size: 1.15rem;
  225. margin: 2px 0 2px 0;
  226. }
  227. h1 {
  228. font-size: 1.83rem;
  229. font-weight: 300;
  230. border-bottom: 2px solid #148603;
  231. margin-bottom: 1.67rem;
  232. }
  233. h1 a {
  234. text-decoration: none;
  235. }
  236. h2 {
  237. font-size: 1.55rem;
  238. }
  239. h3 {
  240. font-size: 1.33rem;
  241. }
  242. h4,
  243. h5,
  244. h6 {
  245. font-size: 1.17rem;
  246. }
  247. .relatedtopics {
  248. font-weight: normal;
  249. }
  250. .howtoget {
  251. background: #EBE7E9;
  252. border-left: 2px solid #4E4B55;
  253. border-radius: 2px;
  254. box-shadow: 0 2px 5px -3px rgb(0 0 0 / 10%);
  255. padding: 0.2em;
  256. display: flex;
  257. flex-direction: column;
  258. }
  259. .howtogetheader {
  260. background: #FFF;
  261. border-radius: 2px;
  262. box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2);
  263. display: inline-block;
  264. font-weight: bold;
  265. padding: 0.1em 0.3em;
  266. }
  267. .howtogetbody {
  268. padding: 0 0.3em;
  269. }
  270. .samplefilesection{
  271. }
  272. .wide {
  273. width: 100%;
  274. }
  275. .bug {
  276. color: red;
  277. }
  278. .debug {
  279. border: 1px solid black;
  280. padding: 3px;
  281. display: none;
  282. background-color: #222;
  283. color: red;
  284. text-align: left;
  285. }
  286. .pycode,
  287. .bascode {
  288. border: solid 5px transparent;
  289. margin-top: 15px;
  290. margin-bottom: 15px;
  291. }
  292. #DisplayArea {
  293. background-color: #FCFCFC;
  294. overflow: auto;
  295. padding: 10px 10px 40px 10px;
  296. grid-area: main;
  297. }
  298. #DisplayArea > p {
  299. margin-bottom: 10px;
  300. }
  301. .mediabutton {
  302. background-color: cyan;
  303. }
  304. .mediadiv{
  305. padding-bottom:5%;
  306. height:0;
  307. display:inline-block;
  308. border:none;
  309. }
  310. .screenshot, .genericimage {
  311. border: .5px solid rgba(0,0,0,.1);
  312. border-radius: 3px;
  313. margin-left: auto;
  314. margin-right: auto;
  315. margin-top: 2em;
  316. margin-bottom: 2em;
  317. display:block;
  318. box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0;
  319. }
  320. .iconimage {}
  321. .switch,
  322. .switchinline {}
  323. .embedded {}
  324. #TopLeftHeader {
  325. grid-area: header;
  326. position: sticky;
  327. top: 0px;
  328. color: #fff;
  329. display: flex;
  330. flex-wrap: wrap;
  331. justify-content: flex-start;
  332. z-index: 100;
  333. }
  334. .dropdowns {
  335. /* allow for scrolling */
  336. overflow-x: auto;
  337. overflow-y: hidden;
  338. /* make it smooth on iOS */
  339. -webkit-overflow-scrolling: touch;
  340. grid-area: dropdowns;
  341. display: flex;
  342. justify-content: space-between;
  343. flex-direction: column;
  344. }
  345. .symbol, .logo, .logo:hover, .logo:visited {
  346. color: #fff;
  347. text-decoration: none;
  348. }
  349. .logo p {
  350. font-size: 24px;
  351. }
  352. .symbol {
  353. grid-area: symbol;
  354. padding: 8px 8px 8px 20px;
  355. }
  356. .symbol div {
  357. background-image: url(media/navigation/libo-symbol-white.svg);
  358. background-repeat: no-repeat;
  359. background-size: contain;
  360. width: 52px;
  361. height: 60px;
  362. }
  363. [data-a11y-toggle]:not([aria-controls]) {
  364. display: none;
  365. }
  366. #langs-nav:not([aria-hidden='true']), #modules-nav:not([aria-hidden='true']) {
  367. z-index: 100;
  368. /* line them up horizontally */
  369. display: flex;
  370. flex-direction: row;
  371. /* allow for scrolling */
  372. overflow-x: auto;
  373. overflow-y: hidden;
  374. /* make it smooth on iOS */
  375. -webkit-overflow-scrolling: touch;
  376. }
  377. #langs-nav a, #modules-nav a {
  378. color: #fff;
  379. background-color: #233336;
  380. display: block;
  381. line-height: 1.5;
  382. padding: 3px 6px;
  383. text-decoration: none;
  384. font-size: 24px;
  385. flex-shrink: 0;
  386. z-index: 100;
  387. white-space: nowrap;
  388. }
  389. footer {
  390. padding: 30px 20px;
  391. }
  392. footer p {
  393. font-size: 0.98rem;
  394. }
  395. .contents-treeview input[type=checkbox], aside input[type=checkbox] {
  396. /* from .visuallyhidden class of html5-boilerplate */
  397. border: 0;
  398. clip: rect(0 0 0 0);
  399. height: 1px;
  400. margin: -1px;
  401. overflow: hidden;
  402. padding: 0;
  403. position: absolute;
  404. width: 1px;
  405. white-space: nowrap;
  406. }
  407. label[for=accordion-1] {
  408. color: #233336;
  409. display: block;
  410. padding: 10px 0 10px 20px;
  411. font-size: 22px;
  412. line-height: .6;
  413. }
  414. label[for=accordion-1]:after {
  415. font-size: 44px;
  416. content:"⌄";
  417. }
  418. aside input[type=checkbox] ~ .contents-treeview {
  419. display: none;
  420. }
  421. aside input[type=checkbox]:checked ~ .contents-treeview {
  422. color: #333;
  423. z-index: 6;
  424. display: block;
  425. margin: 0 20px 0 20px;
  426. }
  427. .index-label {
  428. font-size: 22px;
  429. color: #233336;
  430. padding-left: 20px;
  431. margin: 20px 0 0 0;
  432. }
  433. #Index, .index {
  434. margin-top: 10px;
  435. }
  436. .index {
  437. padding-left: 15px;
  438. }
  439. .index a {
  440. font-size: 15px;
  441. display: block;
  442. }
  443. .index .hidden {
  444. display: none;
  445. }
  446. #Bookmarks {
  447. padding: 0 20px;
  448. }
  449. #Bookmarks p {
  450. font-size: 22px;
  451. font-weight: bold;
  452. color: #148603;
  453. }
  454. #WRITER::before {
  455. content: "WRITER";
  456. display: block;
  457. font-size: 22px;
  458. font-weight: bold;
  459. color: #0369a3;
  460. }
  461. #CALC::before {
  462. content: "CALC";
  463. display: block;
  464. font-size: 22px;
  465. font-weight: bold;
  466. color: #43c330;
  467. }
  468. #IMPRESS::before {
  469. content: "IMPRESS";
  470. display: block;
  471. font-size: 22px;
  472. font-weight: bold;
  473. color: #a33e03;
  474. }
  475. #DRAW::before {
  476. content: "DRAW";
  477. display: block;
  478. font-size: 22px;
  479. font-weight: bold;
  480. color: #c99c00;
  481. }
  482. #BASE::before {
  483. content: "BASE";
  484. display: block;
  485. font-size: 22px;
  486. font-weight: bold;
  487. color: #8e03a3;
  488. }
  489. #MATH::before {
  490. content: "MATH";
  491. display: block;
  492. font-size: 22px;
  493. font-weight: bold;
  494. color: darkslategray;
  495. }
  496. #CHART::before {
  497. content: "CHART";
  498. display: block;
  499. font-size: 22px;
  500. font-weight: bold;
  501. color: darkcyan;
  502. }
  503. #BASIC::before {
  504. content: "BASIC";
  505. display: block;
  506. font-size: 22px;
  507. font-weight: bold;
  508. color: black;
  509. }
  510. #SHARED::before {
  511. content: "GLOBAL";
  512. display: block;
  513. font-size: 22px;
  514. font-weight: bold;
  515. color: gray;
  516. }
  517. .pagination-container {
  518. text-align: center;
  519. margin-left: -40px; /* The normalizer fails to account for this */
  520. }
  521. .pagination li {
  522. display: inline-block;
  523. padding: 0 5px;
  524. }
  525. .pagination a {
  526. text-decoration: none;
  527. }
  528. li.active {
  529. background-color: #023a86;
  530. }
  531. li.active a {
  532. color: #fff;
  533. }
  534. li.disabled a {
  535. opacity: 0.4;
  536. pointer-events: none;
  537. }
  538. #search-bar, input {
  539. border: 1px solid #CCC;
  540. box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
  541. box-sizing: border-box;
  542. line-height: 1.5em;
  543. margin-top: 10px;
  544. outline: none;
  545. padding: 0 .25em;
  546. transition: all 0.30s ease-in-out;
  547. }
  548. #search-bar:focus, input:focus {
  549. border: 1px solid #0EA5FB;
  550. }
  551. #search-bar {
  552. width: 100%;
  553. }
  554. #search-bar::placeholder {
  555. font-style: italic;
  556. }
  557. .xapian-donation {
  558. border-top: 2px solid #148603;
  559. background-color: #FCFCFC;
  560. box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
  561. }
  562. #DonationFrame {
  563. background: #18A303;
  564. position: sticky;
  565. top: 0px;
  566. }
  567. .donation{
  568. border: 1px solid #f1c62a;
  569. border-radius: 2px;
  570. padding: 5px 10px;
  571. margin: auto;
  572. max-width: 200px;
  573. color: #ffffff;
  574. }
  575. .donation:hover {
  576. background: linear-gradient(90deg, #1c71d8 0%, #30c877 100%);
  577. }
  578. .donation a {
  579. color: white;
  580. text-decoration: none;
  581. }
  582. .donation p {
  583. font-size:1rem;
  584. text-align: center;
  585. }
  586. #SearchFrame {
  587. background: #18A303;
  588. top: 0px;
  589. position: sticky;
  590. }
  591. .xapian-omega-search {
  592. margin: auto;
  593. }
  594. .modules {
  595. border-bottom: 2px solid #f3f3f3;
  596. background-color: #233336;
  597. z-index: 100;
  598. }
  599. #modules:after, #langs:after {
  600. font-size: 30px;
  601. color: #fff;
  602. content:"⌄";
  603. }
  604. .lang {
  605. background-color: #233336;
  606. }
  607. #langs, #modules {
  608. display: none;
  609. }
  610. #modules-nav div {
  611. background-repeat: no-repeat;
  612. background-size: contain;
  613. float: left;
  614. display: none;
  615. }
  616. .calc-icon,
  617. .chart-icon,
  618. .writer-icon,
  619. .impress-icon,
  620. .draw-icon,
  621. .math-icon,
  622. .basic-icon,
  623. .base-icon {
  624. width: 21.5px;
  625. height: 26px;
  626. position: relative;
  627. margin-right: 5px;
  628. }
  629. .calc-icon {
  630. background-image: url(media/navigation/libo-calc.svg);
  631. }
  632. .writer-icon {
  633. background-image: url(media/navigation/libo-writer.svg);
  634. }
  635. .impress-icon {
  636. background-image: url(media/navigation/libo-impress.svg);
  637. }
  638. .draw-icon {
  639. background-image: url(media/navigation/libo-draw.svg);
  640. }
  641. .math-icon {
  642. background-image: url(media/navigation/libo-math.svg);
  643. }
  644. .base-icon {
  645. background-image: url(media/navigation/libo-base.svg);
  646. }
  647. .chart-icon {
  648. background-image: url(media/navigation/libo-chart.svg);
  649. }
  650. .basic-icon {
  651. background-image: url(media/navigation/libo-basic.svg);
  652. }
  653. /* tree view */
  654. .contents-treeview ul,
  655. .contents-treeview li {
  656. padding: 0;
  657. margin: 0;
  658. list-style: none;
  659. font-size: 15px;
  660. }
  661. .contents-treeview {
  662. -moz-user-select: none;
  663. -webkit-user-select: none;
  664. user-select: none;
  665. }
  666. .contents-treeview a, .index a {
  667. text-decoration: none;
  668. line-height: 1.4;
  669. }
  670. .contents-treeview a:hover, .index a:hover {
  671. border-left: 2px solid rgba(0,0,0,0.05);
  672. margin-left: -12px;
  673. padding-left: 10px;
  674. }
  675. .contents-treeview input + label + ul {
  676. margin: 0 0 0 22px;
  677. }
  678. .contents-treeview input ~ ul {
  679. display: none;
  680. }
  681. .contents-treeview label,
  682. .contents-treeview label:before {
  683. cursor: pointer;
  684. color: #111;
  685. }
  686. .contents-treeview input:disabled + label {
  687. cursor: default;
  688. opacity: .6;
  689. }
  690. .contents-treeview input:checked:not(:disabled) ~ ul {
  691. display: block;
  692. }
  693. .contents-treeview label,
  694. .contents-treeview a,
  695. .contents-treeview label::before {
  696. display: block;
  697. vertical-align: middle;
  698. }
  699. .contents-treeview label:before {
  700. content: "⊞";
  701. color: #0461e0;
  702. width: 16px;
  703. margin: 0 5px 0 0;
  704. display: inline-block;
  705. }
  706. .contents-treeview input:checked + label::before {
  707. content: "⊟";
  708. }
  709. .contents-current {
  710. background: rgba(0,0,0,0.1);
  711. border-left: 2px solid #6E7487;
  712. margin-left: -12px;
  713. padding-left: 10px;
  714. }
  715. /* webkit adjacent element selector bugfix */
  716. @media screen and (-webkit-min-device-pixel-ratio: 0) {
  717. .contents-treeview {
  718. -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
  719. }
  720. @-webkit-keyframes webkit-adjacent-element-selector-bugfix {
  721. from {
  722. padding: 0;
  723. }
  724. to {
  725. padding: 0;
  726. }
  727. }
  728. }
  729. @media screen and (min-width: 960px) {
  730. .dropdowns {
  731. flex-direction: row;
  732. overflow-y: auto;
  733. overflow-x: hidden;
  734. }
  735. #langs-nav, #modules-nav {
  736. display: none;
  737. }
  738. #langs-nav a {
  739. font-size: 19px;
  740. white-space: normal;
  741. }
  742. /* these are buttons, so also reset some default stylings */
  743. #langs, #modules {
  744. cursor: pointer;
  745. color: #fff;
  746. font-size: 19px;
  747. display: block;
  748. background: transparent;
  749. border: none;
  750. text-transform: none;
  751. padding: 0;
  752. line-height: normal;
  753. }
  754. /* change the menu direction to stacked */
  755. #langs-nav:not([aria-hidden='true']), #modules-nav:not([aria-hidden='true']) {
  756. display: flex;
  757. flex-direction: column;
  758. overflow-y: auto;
  759. overflow-x: hidden;
  760. max-width: 120px;
  761. max-height: 480px;
  762. position: absolute;
  763. }
  764. #modules-nav {
  765. background-color: #101820;
  766. text-align: left;
  767. }
  768. #modules-nav div {
  769. display: block;
  770. }
  771. #modules-nav a {
  772. font-size: 19px;
  773. }
  774. aside {
  775. float: left;
  776. width: 320px;
  777. }
  778. .leftside {
  779. grid-area: leftside;
  780. }
  781. .rightside {
  782. grid-area: rightside;
  783. }
  784. #DonationFrame {
  785. grid-area: donation;
  786. }
  787. #SearchFrame {
  788. grid-area: search;
  789. }
  790. footer {
  791. grid-area: footer;
  792. }
  793. .lang {
  794. background-color: transparent;
  795. }
  796. .modules {
  797. border: none;
  798. background-color: transparent;
  799. }
  800. #DisplayArea {
  801. box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
  802. padding: 10px 50px 40px 50px;
  803. }
  804. .xapian-omega-search {
  805. width: 100%;
  806. }
  807. .xapian-omega-search form {
  808. display: flex;
  809. justify-content: center;
  810. }
  811. .omega-autofocus {
  812. max-width: 200px;
  813. width: 100%
  814. }
  815. }
  816. @media screen and (min-width: 1440px) {
  817. #Contents {
  818. color: #333;
  819. z-index: 6;
  820. display: block;
  821. margin: 0 20px 0 20px;
  822. }
  823. label[for=accordion-1] {
  824. background-color: transparent;
  825. text-decoration: none;
  826. }
  827. label[for=accordion-1]:hover {
  828. background-color: transparent;
  829. }
  830. label[for=accordion-1]:after {
  831. content: "";
  832. }
  833. .omega-autofocus {
  834. max-width: 400px;
  835. }
  836. }
  837. /* Use @supports to sneak these rules past IE */
  838. @supports (grid-area: auto) {
  839. @media screen and (min-width: 960px) {
  840. #TopLeftHeader {
  841. display: grid;
  842. align-items: end;
  843. grid-template-columns: auto auto;
  844. grid-template-rows: auto auto;
  845. grid-template-areas: "symbol logo"
  846. "symbol dropdowns"
  847. }
  848. #SearchFrame {
  849. grid-area: search;
  850. display: flex;
  851. justify-content: space-between;
  852. align-items: center;
  853. }
  854. #DonationFrame {
  855. grid-area: donation;
  856. display: flex;
  857. justify-content: space-between;
  858. align-items: center;
  859. }
  860. body {
  861. display: grid;
  862. grid-template-columns: 320px 100px 300px 1fr;
  863. grid-template-rows: minmax(1em, auto) minmax(1em, auto) 1fr minmax(1em, auto);
  864. grid-template-areas: "header header search donation"
  865. "rightside main main main"
  866. "leftside main main main"
  867. ". footer footer footer"
  868. }
  869. html {
  870. scroll-padding-top: 64px;
  871. }
  872. }
  873. @media screen and (min-width: 1440px) {
  874. body {
  875. display: grid;
  876. grid-template-columns: 360px 100px 400px 400px 1fr;
  877. grid-template-rows: 1fr minmax(1em, auto) minmax(1em, auto);
  878. grid-template-areas: "header header search search donation"
  879. "leftside main main main rightside"
  880. ". footer footer footer ."
  881. }
  882. .donation {
  883. max-width: 300px;
  884. }
  885. .rightside {
  886. width: auto;
  887. border-right: none;
  888. }
  889. }
  890. }