header.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. /*!
  2. * # Semantic UI 2.5.0 - Header
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Header
  12. *******************************/
  13. /* Standard */
  14. .ui.header {
  15. border: none;
  16. margin: calc(2rem - 0.14285714em ) 0em 1rem;
  17. padding: 0em 0em;
  18. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  19. font-weight: bold;
  20. line-height: 1.28571429em;
  21. text-transform: none;
  22. color: rgba(0, 0, 0, 0.87);
  23. }
  24. .ui.header:first-child {
  25. margin-top: -0.14285714em;
  26. }
  27. .ui.header:last-child {
  28. margin-bottom: 0em;
  29. }
  30. /*--------------
  31. Sub Header
  32. ---------------*/
  33. .ui.header .sub.header {
  34. display: block;
  35. font-weight: normal;
  36. padding: 0em;
  37. margin: 0em;
  38. font-size: 1rem;
  39. line-height: 1.2em;
  40. color: rgba(0, 0, 0, 0.6);
  41. }
  42. /*--------------
  43. Icon
  44. ---------------*/
  45. .ui.header > .icon {
  46. display: table-cell;
  47. opacity: 1;
  48. font-size: 1.5em;
  49. padding-top: 0em;
  50. vertical-align: middle;
  51. }
  52. /* With Text Node */
  53. .ui.header .icon:only-child {
  54. display: inline-block;
  55. padding: 0em;
  56. margin-right: 0.75rem;
  57. }
  58. /*-------------------
  59. Image
  60. --------------------*/
  61. .ui.header > .image:not(.icon),
  62. .ui.header > img {
  63. display: inline-block;
  64. margin-top: 0.14285714em;
  65. width: 2.5em;
  66. height: auto;
  67. vertical-align: middle;
  68. }
  69. .ui.header > .image:not(.icon):only-child,
  70. .ui.header > img:only-child {
  71. margin-right: 0.75rem;
  72. }
  73. /*--------------
  74. Content
  75. ---------------*/
  76. .ui.header .content {
  77. display: inline-block;
  78. vertical-align: top;
  79. }
  80. /* After Image */
  81. .ui.header > img + .content,
  82. .ui.header > .image + .content {
  83. padding-left: 0.75rem;
  84. vertical-align: middle;
  85. }
  86. /* After Icon */
  87. .ui.header > .icon + .content {
  88. padding-left: 0.75rem;
  89. display: table-cell;
  90. vertical-align: middle;
  91. }
  92. /*--------------
  93. Loose Coupling
  94. ---------------*/
  95. .ui.header .ui.label {
  96. font-size: '';
  97. margin-left: 0.5rem;
  98. vertical-align: middle;
  99. }
  100. /* Positioning */
  101. .ui.header + p {
  102. margin-top: 0em;
  103. }
  104. /*******************************
  105. Types
  106. *******************************/
  107. /*--------------
  108. Page
  109. ---------------*/
  110. h1.ui.header {
  111. font-size: 2rem;
  112. }
  113. h2.ui.header {
  114. font-size: 1.71428571rem;
  115. }
  116. h3.ui.header {
  117. font-size: 1.28571429rem;
  118. }
  119. h4.ui.header {
  120. font-size: 1.07142857rem;
  121. }
  122. h5.ui.header {
  123. font-size: 1rem;
  124. }
  125. /* Sub Header */
  126. h1.ui.header .sub.header {
  127. font-size: 1.14285714rem;
  128. }
  129. h2.ui.header .sub.header {
  130. font-size: 1.14285714rem;
  131. }
  132. h3.ui.header .sub.header {
  133. font-size: 1rem;
  134. }
  135. h4.ui.header .sub.header {
  136. font-size: 1rem;
  137. }
  138. h5.ui.header .sub.header {
  139. font-size: 0.92857143rem;
  140. }
  141. /*--------------
  142. Content Heading
  143. ---------------*/
  144. .ui.huge.header {
  145. min-height: 1em;
  146. font-size: 2em;
  147. }
  148. .ui.large.header {
  149. font-size: 1.71428571em;
  150. }
  151. .ui.medium.header {
  152. font-size: 1.28571429em;
  153. }
  154. .ui.small.header {
  155. font-size: 1.07142857em;
  156. }
  157. .ui.tiny.header {
  158. font-size: 1em;
  159. }
  160. /* Sub Header */
  161. .ui.huge.header .sub.header {
  162. font-size: 1.14285714rem;
  163. }
  164. .ui.large.header .sub.header {
  165. font-size: 1.14285714rem;
  166. }
  167. .ui.header .sub.header {
  168. font-size: 1rem;
  169. }
  170. .ui.small.header .sub.header {
  171. font-size: 1rem;
  172. }
  173. .ui.tiny.header .sub.header {
  174. font-size: 0.92857143rem;
  175. }
  176. /*--------------
  177. Sub Heading
  178. ---------------*/
  179. .ui.sub.header {
  180. padding: 0em;
  181. margin-bottom: 0.14285714rem;
  182. font-weight: bold;
  183. font-size: 0.85714286em;
  184. text-transform: uppercase;
  185. color: '';
  186. }
  187. .ui.small.sub.header {
  188. font-size: 0.78571429em;
  189. }
  190. .ui.sub.header {
  191. font-size: 0.85714286em;
  192. }
  193. .ui.large.sub.header {
  194. font-size: 0.92857143em;
  195. }
  196. .ui.huge.sub.header {
  197. font-size: 1em;
  198. }
  199. /*-------------------
  200. Icon
  201. --------------------*/
  202. .ui.icon.header {
  203. display: inline-block;
  204. text-align: center;
  205. margin: 2rem 0em 1rem;
  206. }
  207. .ui.icon.header:after {
  208. content: '';
  209. display: block;
  210. height: 0px;
  211. clear: both;
  212. visibility: hidden;
  213. }
  214. .ui.icon.header:first-child {
  215. margin-top: 0em;
  216. }
  217. .ui.icon.header .icon {
  218. float: none;
  219. display: block;
  220. width: auto;
  221. height: auto;
  222. line-height: 1;
  223. padding: 0em;
  224. font-size: 3em;
  225. margin: 0em auto 0.5rem;
  226. opacity: 1;
  227. }
  228. .ui.icon.header .content {
  229. display: block;
  230. padding: 0em;
  231. }
  232. .ui.icon.header .circular.icon {
  233. font-size: 2em;
  234. }
  235. .ui.icon.header .square.icon {
  236. font-size: 2em;
  237. }
  238. .ui.block.icon.header .icon {
  239. margin-bottom: 0em;
  240. }
  241. .ui.icon.header.aligned {
  242. margin-left: auto;
  243. margin-right: auto;
  244. display: block;
  245. }
  246. /*******************************
  247. States
  248. *******************************/
  249. .ui.disabled.header {
  250. opacity: 0.45;
  251. }
  252. /*******************************
  253. Variations
  254. *******************************/
  255. /*-------------------
  256. Inverted
  257. --------------------*/
  258. .ui.inverted.header {
  259. color: #FFFFFF;
  260. }
  261. .ui.inverted.header .sub.header {
  262. color: rgba(255, 255, 255, 0.8);
  263. }
  264. .ui.inverted.attached.header {
  265. background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  266. box-shadow: none;
  267. border-color: transparent;
  268. }
  269. .ui.inverted.block.header {
  270. background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  271. box-shadow: none;
  272. }
  273. .ui.inverted.block.header {
  274. border-bottom: none;
  275. }
  276. /*-------------------
  277. Colors
  278. --------------------*/
  279. /*--- Red ---*/
  280. .ui.red.header {
  281. color: #DB2828 !important;
  282. }
  283. a.ui.red.header:hover {
  284. color: #d01919 !important;
  285. }
  286. .ui.red.dividing.header {
  287. border-bottom: 2px solid #DB2828;
  288. }
  289. /* Inverted */
  290. .ui.inverted.red.header {
  291. color: #FF695E !important;
  292. }
  293. a.ui.inverted.red.header:hover {
  294. color: #ff5144 !important;
  295. }
  296. /*--- Orange ---*/
  297. .ui.orange.header {
  298. color: #F2711C !important;
  299. }
  300. a.ui.orange.header:hover {
  301. color: #f26202 !important;
  302. }
  303. .ui.orange.dividing.header {
  304. border-bottom: 2px solid #F2711C;
  305. }
  306. /* Inverted */
  307. .ui.inverted.orange.header {
  308. color: #FF851B !important;
  309. }
  310. a.ui.inverted.orange.header:hover {
  311. color: #ff7701 !important;
  312. }
  313. /*--- Olive ---*/
  314. .ui.olive.header {
  315. color: #B5CC18 !important;
  316. }
  317. a.ui.olive.header:hover {
  318. color: #a7bd0d !important;
  319. }
  320. .ui.olive.dividing.header {
  321. border-bottom: 2px solid #B5CC18;
  322. }
  323. /* Inverted */
  324. .ui.inverted.olive.header {
  325. color: #D9E778 !important;
  326. }
  327. a.ui.inverted.olive.header:hover {
  328. color: #d8ea5c !important;
  329. }
  330. /*--- Yellow ---*/
  331. .ui.yellow.header {
  332. color: #FBBD08 !important;
  333. }
  334. a.ui.yellow.header:hover {
  335. color: #eaae00 !important;
  336. }
  337. .ui.yellow.dividing.header {
  338. border-bottom: 2px solid #FBBD08;
  339. }
  340. /* Inverted */
  341. .ui.inverted.yellow.header {
  342. color: #FFE21F !important;
  343. }
  344. a.ui.inverted.yellow.header:hover {
  345. color: #ffdf05 !important;
  346. }
  347. /*--- Green ---*/
  348. .ui.green.header {
  349. color: #21BA45 !important;
  350. }
  351. a.ui.green.header:hover {
  352. color: #16ab39 !important;
  353. }
  354. .ui.green.dividing.header {
  355. border-bottom: 2px solid #21BA45;
  356. }
  357. /* Inverted */
  358. .ui.inverted.green.header {
  359. color: #2ECC40 !important;
  360. }
  361. a.ui.inverted.green.header:hover {
  362. color: #22be34 !important;
  363. }
  364. /*--- Teal ---*/
  365. .ui.teal.header {
  366. color: #00B5AD !important;
  367. }
  368. a.ui.teal.header:hover {
  369. color: #009c95 !important;
  370. }
  371. .ui.teal.dividing.header {
  372. border-bottom: 2px solid #00B5AD;
  373. }
  374. /* Inverted */
  375. .ui.inverted.teal.header {
  376. color: #6DFFFF !important;
  377. }
  378. a.ui.inverted.teal.header:hover {
  379. color: #54ffff !important;
  380. }
  381. /*--- Blue ---*/
  382. .ui.blue.header {
  383. color: #2185D0 !important;
  384. }
  385. a.ui.blue.header:hover {
  386. color: #1678c2 !important;
  387. }
  388. .ui.blue.dividing.header {
  389. border-bottom: 2px solid #2185D0;
  390. }
  391. /* Inverted */
  392. .ui.inverted.blue.header {
  393. color: #54C8FF !important;
  394. }
  395. a.ui.inverted.blue.header:hover {
  396. color: #3ac0ff !important;
  397. }
  398. /*--- Violet ---*/
  399. .ui.violet.header {
  400. color: #6435C9 !important;
  401. }
  402. a.ui.violet.header:hover {
  403. color: #5829bb !important;
  404. }
  405. .ui.violet.dividing.header {
  406. border-bottom: 2px solid #6435C9;
  407. }
  408. /* Inverted */
  409. .ui.inverted.violet.header {
  410. color: #A291FB !important;
  411. }
  412. a.ui.inverted.violet.header:hover {
  413. color: #8a73ff !important;
  414. }
  415. /*--- Purple ---*/
  416. .ui.purple.header {
  417. color: #A333C8 !important;
  418. }
  419. a.ui.purple.header:hover {
  420. color: #9627ba !important;
  421. }
  422. .ui.purple.dividing.header {
  423. border-bottom: 2px solid #A333C8;
  424. }
  425. /* Inverted */
  426. .ui.inverted.purple.header {
  427. color: #DC73FF !important;
  428. }
  429. a.ui.inverted.purple.header:hover {
  430. color: #d65aff !important;
  431. }
  432. /*--- Pink ---*/
  433. .ui.pink.header {
  434. color: #E03997 !important;
  435. }
  436. a.ui.pink.header:hover {
  437. color: #e61a8d !important;
  438. }
  439. .ui.pink.dividing.header {
  440. border-bottom: 2px solid #E03997;
  441. }
  442. /* Inverted */
  443. .ui.inverted.pink.header {
  444. color: #FF8EDF !important;
  445. }
  446. a.ui.inverted.pink.header:hover {
  447. color: #ff74d8 !important;
  448. }
  449. /*--- Brown ---*/
  450. .ui.brown.header {
  451. color: #A5673F !important;
  452. }
  453. a.ui.brown.header:hover {
  454. color: #975b33 !important;
  455. }
  456. .ui.brown.dividing.header {
  457. border-bottom: 2px solid #A5673F;
  458. }
  459. /* Inverted */
  460. .ui.inverted.brown.header {
  461. color: #D67C1C !important;
  462. }
  463. a.ui.inverted.brown.header:hover {
  464. color: #c86f11 !important;
  465. }
  466. /*--- Grey ---*/
  467. .ui.grey.header {
  468. color: #767676 !important;
  469. }
  470. a.ui.grey.header:hover {
  471. color: #838383 !important;
  472. }
  473. .ui.grey.dividing.header {
  474. border-bottom: 2px solid #767676;
  475. }
  476. /* Inverted */
  477. .ui.inverted.grey.header {
  478. color: #DCDDDE !important;
  479. }
  480. a.ui.inverted.grey.header:hover {
  481. color: #cfd0d2 !important;
  482. }
  483. /*-------------------
  484. Aligned
  485. --------------------*/
  486. .ui.left.aligned.header {
  487. text-align: left;
  488. }
  489. .ui.right.aligned.header {
  490. text-align: right;
  491. }
  492. .ui.centered.header,
  493. .ui.center.aligned.header {
  494. text-align: center;
  495. }
  496. .ui.justified.header {
  497. text-align: justify;
  498. }
  499. .ui.justified.header:after {
  500. display: inline-block;
  501. content: '';
  502. width: 100%;
  503. }
  504. /*-------------------
  505. Floated
  506. --------------------*/
  507. .ui.floated.header,
  508. .ui[class*="left floated"].header {
  509. float: left;
  510. margin-top: 0em;
  511. margin-right: 0.5em;
  512. }
  513. .ui[class*="right floated"].header {
  514. float: right;
  515. margin-top: 0em;
  516. margin-left: 0.5em;
  517. }
  518. /*-------------------
  519. Fitted
  520. --------------------*/
  521. .ui.fitted.header {
  522. padding: 0em;
  523. }
  524. /*-------------------
  525. Dividing
  526. --------------------*/
  527. .ui.dividing.header {
  528. padding-bottom: 0.21428571rem;
  529. border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  530. }
  531. .ui.dividing.header .sub.header {
  532. padding-bottom: 0.21428571rem;
  533. }
  534. .ui.dividing.header .icon {
  535. margin-bottom: 0em;
  536. }
  537. .ui.inverted.dividing.header {
  538. border-bottom-color: rgba(255, 255, 255, 0.1);
  539. }
  540. /*-------------------
  541. Block
  542. --------------------*/
  543. .ui.block.header {
  544. background: #F3F4F5;
  545. padding: 0.78571429rem 1rem;
  546. box-shadow: none;
  547. border: 1px solid #D4D4D5;
  548. border-radius: 0.28571429rem;
  549. }
  550. .ui.tiny.block.header {
  551. font-size: 0.85714286rem;
  552. }
  553. .ui.small.block.header {
  554. font-size: 0.92857143rem;
  555. }
  556. .ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  557. font-size: 1rem;
  558. }
  559. .ui.large.block.header {
  560. font-size: 1.14285714rem;
  561. }
  562. .ui.huge.block.header {
  563. font-size: 1.42857143rem;
  564. }
  565. /*-------------------
  566. Attached
  567. --------------------*/
  568. .ui.attached.header {
  569. background: #FFFFFF;
  570. padding: 0.78571429rem 1rem;
  571. margin-left: -1px;
  572. margin-right: -1px;
  573. box-shadow: none;
  574. border: 1px solid #D4D4D5;
  575. }
  576. .ui.attached.block.header {
  577. background: #F3F4F5;
  578. }
  579. .ui.attached:not(.top):not(.bottom).header {
  580. margin-top: 0em;
  581. margin-bottom: 0em;
  582. border-top: none;
  583. border-radius: 0em;
  584. }
  585. .ui.top.attached.header {
  586. margin-bottom: 0em;
  587. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  588. }
  589. .ui.bottom.attached.header {
  590. margin-top: 0em;
  591. border-top: none;
  592. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  593. }
  594. /* Attached Sizes */
  595. .ui.tiny.attached.header {
  596. font-size: 0.85714286em;
  597. }
  598. .ui.small.attached.header {
  599. font-size: 0.92857143em;
  600. }
  601. .ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  602. font-size: 1em;
  603. }
  604. .ui.large.attached.header {
  605. font-size: 1.14285714em;
  606. }
  607. .ui.huge.attached.header {
  608. font-size: 1.42857143em;
  609. }
  610. /*-------------------
  611. Sizing
  612. --------------------*/
  613. .ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  614. font-size: 1.28571429em;
  615. }
  616. /*******************************
  617. Theme Overrides
  618. *******************************/
  619. /*******************************
  620. Site Overrides
  621. *******************************/