hugo-academic.css 19 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109
  1. /*************************************************
  2. * Hugo Academic: an academic theme for Hugo.
  3. * Designed by @GeorgeCushen.
  4. * https://github.com/gcushen/hugo-academic
  5. **************************************************/
  6. /*************************************************
  7. * Core
  8. **************************************************/
  9. *,
  10. *::after,
  11. *::before {
  12. box-sizing: border-box;
  13. }
  14. .row:after,
  15. .row:before {
  16. content: " ";
  17. display: table;
  18. }
  19. html {
  20. font-family: 'Merriweather', serif;
  21. font-size: 16px;
  22. color: rgba(0,0,0,0.8);
  23. line-height: 1.65;
  24. }
  25. @media screen and (min-width: 58em) {
  26. html {
  27. font-size: 20px;
  28. }
  29. }
  30. body {
  31. font-family: inherit;
  32. font-size: 1rem;
  33. line-height: inherit;
  34. color: inherit;
  35. margin-top: 71px; /* Offset body content by navbar height. */
  36. padding-top: 0;
  37. counter-reset: captions;
  38. }
  39. @media screen and (max-width: 1200px) { /* Match max-width of .nav-bar query. */
  40. body {
  41. margin-top: 51px; /* Offset body content by navbar height. */
  42. }
  43. }
  44. /* Body text */
  45. p {
  46. margin-top: 0;
  47. margin-bottom: 1rem;
  48. }
  49. /* Lists */
  50. ul, ol, dl {
  51. margin-top: 0;
  52. margin-bottom: 1rem;
  53. }
  54. /* Navigation bar text */
  55. .navbar-default {
  56. font-family: 'Lato', sans-serif;
  57. font-weight: 400;
  58. line-height: 1.25;
  59. text-rendering: optimizeLegibility;
  60. }
  61. /* Headings */
  62. h1, h2, h3, h4, h5, h6 {
  63. font-family: 'Lato', sans-serif;
  64. font-weight: 400;
  65. margin-bottom: .5rem;
  66. line-height: 1.25;
  67. color: #313131;
  68. text-rendering: optimizeLegibility;
  69. }
  70. h1 {
  71. font-size: 2.25rem;
  72. }
  73. h2 {
  74. margin-top: 1rem;
  75. font-size: 1.5rem;
  76. }
  77. h3 {
  78. font-weight: 700;
  79. margin-top: 1.5rem;
  80. font-size: 1.25rem;
  81. }
  82. h4, h5, h6 {
  83. font-weight: 700;
  84. margin-top: 1rem;
  85. font-size: 1rem;
  86. }
  87. a,
  88. h3.article-title a:hover {
  89. color: #0095eb;
  90. text-decoration: none;
  91. transition: color 0.6s ease;
  92. }
  93. a:hover,
  94. a:focus {
  95. color: #005181;
  96. }
  97. img,
  98. video {
  99. height: auto;
  100. max-width: 100%;
  101. display: block;
  102. }
  103. .img-responsive {
  104. /* Extend Bootstrap declaration with centering. */
  105. margin: 0 auto;
  106. }
  107. figcaption:before {
  108. font-weight: 700;
  109. text-transform: uppercase;
  110. content: "Figure " counter(captions) ": ";
  111. }
  112. figcaption {
  113. display: block;
  114. margin-top: 0.75em;
  115. line-height: 1.25;
  116. font-size: 1rem;
  117. margin-bottom: 1.65rem;
  118. font-family: 'Lato', sans-serif;
  119. counter-increment: captions;
  120. }
  121. figcaption h4 {
  122. display: inline-block;
  123. font-size: 1rem;
  124. font-weight: 400;
  125. margin: 0;
  126. }
  127. pre,
  128. code {
  129. font-family: 'Roboto Mono', 'Courier New', 'Courier', monospace;
  130. }
  131. pre {
  132. margin: 0 0 1rem 0;
  133. overflow: auto;
  134. }
  135. /* Quotes */
  136. blockquote {
  137. padding: .5rem 1rem;
  138. margin: .8rem 0;
  139. color: #7a7a7a;
  140. border-left: .25rem solid #e5e5e5;
  141. }
  142. blockquote p:last-child {
  143. margin-bottom: 0;
  144. }
  145. @media (min-width: 30em) {
  146. blockquote {
  147. padding-right: 5rem;
  148. padding-left: 1.25rem;
  149. }
  150. }
  151. .space-below {
  152. margin-bottom: 50px;
  153. }
  154. @media screen and (max-width: 768px) {
  155. .space-below {
  156. margin-bottom: 10px;
  157. }
  158. }
  159. .universal-wrapper {
  160. margin: 0 auto;
  161. padding-right: 15px;
  162. padding-left: 15px;
  163. width: 100%;
  164. }
  165. @media only screen and (min-width: 1001px) {
  166. .universal-wrapper {
  167. width: 1000px;
  168. }
  169. }
  170. /*************************************************
  171. * Home Sections
  172. **************************************************/
  173. @keyframes intro {
  174. 0% {
  175. opacity: 0;
  176. }
  177. 100% {
  178. opacity: 1;
  179. }
  180. }
  181. .home-section {
  182. background-color: rgb(255, 255, 255);
  183. padding: 110px 0 110px 0;
  184. animation: intro 0.3s both;
  185. animation-delay: 0.15s;
  186. }
  187. .home-section:first-of-type {
  188. padding-top: 50px;
  189. }
  190. .home-section:nth-of-type(even) {
  191. background-color: rgb(247, 247, 247);
  192. }
  193. @media screen and (max-width: 768px) {
  194. .home-section {
  195. padding: 60px 0 60px 0;
  196. }
  197. .home-section:first-of-type {
  198. padding-top: 40px;
  199. }
  200. }
  201. .section-heading h1 {
  202. margin: 0 0 10px 0;
  203. }
  204. .section-heading p {
  205. font-family: 'Lato', sans-serif;
  206. font-weight: 400;
  207. font-size: 1.1rem;
  208. color: #b2b2b2;
  209. }
  210. /*************************************************
  211. * Biography
  212. **************************************************/
  213. #profile {
  214. text-align: center;
  215. padding: 30px 10px;
  216. position: relative;
  217. }
  218. #profile .portrait {
  219. background-image: url('../img/portrait.jpg');
  220. width: 200px;
  221. height: 200px;
  222. margin: 0 auto;
  223. border-radius: 50%;
  224. background-size: cover;
  225. -webkit-background-size: cover;
  226. -moz-background-size: cover;
  227. }
  228. #profile .portrait-title h2 {
  229. font-size: 1.75em;
  230. font-weight: 300;
  231. color: #000000;
  232. margin: 20px 0 10px 0;
  233. }
  234. #profile .portrait-title h3 {
  235. font-size: 1.13em;
  236. font-weight: 300;
  237. color: #AAAAAA;
  238. margin: 0px 0 10px 0;
  239. }
  240. #profile ul.social-icon {
  241. display: inline-flex;
  242. flex-direction: row;
  243. flex-wrap: wrap;
  244. list-style: none;
  245. padding: 0;
  246. margin-top: 30px;
  247. }
  248. #profile .social-icon li {
  249. margin-right: 10px;
  250. }
  251. #profile .social-icon li:last-of-type {
  252. margin-right: 0;
  253. }
  254. #profile .social-icon li:hover {
  255. transform: scale(1.2)
  256. }
  257. .big-icon {
  258. font-size: 2rem;
  259. }
  260. ul.ul-interests li {
  261. font-size: 0.9rem;
  262. }
  263. ul.ul-edu {
  264. list-style: none;
  265. }
  266. ul.ul-edu li {
  267. position: relative;
  268. padding: 0px 15px 4px 3px;
  269. }
  270. ul.ul-edu li .description p {
  271. margin: 0;
  272. }
  273. ul.ul-edu li .description p.course {
  274. font-size: 0.9rem;
  275. }
  276. ul.ul-edu li .description p.institution {
  277. font-size: 0.75rem;
  278. color: rgba(0,0,0,0.6);
  279. }
  280. /*************************************************
  281. * Sharing
  282. **************************************************/
  283. .share-box {
  284. float: right;
  285. }
  286. ul.share {
  287. display: flex;
  288. flex-direction: row;
  289. flex-wrap: wrap;
  290. list-style: none;
  291. margin: 0;
  292. padding: 0;
  293. }
  294. ul.share li {
  295. display: inline-flex;
  296. margin-right: 5px;
  297. }
  298. ul.share li:last-of-type {
  299. margin-right: 0;
  300. }
  301. ul.share li .fa {
  302. display: block;
  303. width: 30px;
  304. height: 30px;
  305. line-height: 30px;
  306. font-size: 16px;
  307. text-align: center;
  308. transition: all 150ms ease-in-out;
  309. color: #fff;
  310. }
  311. ul.share li a {
  312. background-color: #b5c6ce;
  313. display: block;
  314. border-radius: 50%;
  315. text-decoration: none !important;
  316. margin: 0;
  317. }
  318. ul.share li:hover .fa {
  319. transform: scale(1.4)
  320. }
  321. /*************************************************
  322. * Blog Articles
  323. **************************************************/
  324. article {
  325. animation: intro 0.3s both;
  326. animation-delay: 0.15s;
  327. }
  328. .article-container {
  329. max-width: 760px;
  330. padding: 1rem 20px 0 20px;
  331. margin: 0 auto 0 auto;
  332. }
  333. .article-header {
  334. position: relative;
  335. clear: both;
  336. }
  337. .article-banner {
  338. width: 100%;
  339. height: auto;
  340. }
  341. .article-header-caption {
  342. position: absolute;
  343. bottom: 0;
  344. right: 0;
  345. margin: 0 auto;
  346. padding: 2px 5px;
  347. color: #fff;
  348. font-size: .7em;
  349. background: #000;
  350. text-align: right;
  351. z-index: 5;
  352. opacity: 0.65;
  353. border-radius: 5px 0 0 0;
  354. }
  355. @media (min-width: 64em) {
  356. .article-header-caption {
  357. padding: 5px 10px;
  358. }
  359. }
  360. .article-header-caption a {
  361. color: #fff;
  362. text-decoration: none;
  363. }
  364. .article-title {
  365. font-size: 1.75rem;
  366. }
  367. .article-title a {
  368. color: #151515;
  369. transition: color 0.6s ease;
  370. }
  371. .article-metadata {
  372. margin-bottom: 20px;
  373. line-height: 30px; /* Match share bar line height. */
  374. font-size: 14px;
  375. letter-spacing: 0.03em;
  376. color: #888;
  377. }
  378. .article-metadata a {
  379. color: #888;
  380. }
  381. .article-metadata a:hover {
  382. color: #0095eb;
  383. }
  384. .article-list-item {
  385. margin-bottom: 40px;
  386. }
  387. .article-list-item:last-child {
  388. margin-bottom: 0 !important;
  389. }
  390. .article-list-item .article-metadata {
  391. margin-bottom: 5px;
  392. }
  393. .article-metadata .article-date,
  394. .article-metadata .article-categories,
  395. .article-metadata .article-tags {
  396. margin-right: 10px;
  397. }
  398. .article-style img,
  399. .article-style video {
  400. box-shadow: 1px 1px 0px #edefed, -1px -1px 0px #edefed, 1px -1px 0px #edefed, -1px 1px 0px #edefed;
  401. margin-left: auto;
  402. margin-right: auto;
  403. margin-top: 60px;
  404. margin-bottom: 60px;
  405. padding-left: 0;
  406. padding-right: 0;
  407. }
  408. .article-style figure {
  409. margin-top: 60px;
  410. margin-bottom: 60px;
  411. }
  412. .article-style figure img {
  413. margin-top: 0;
  414. margin-bottom: 0;
  415. }
  416. #comments {
  417. padding-top: 1rem;
  418. }
  419. /*************************************************
  420. * Publications
  421. **************************************************/
  422. .pub-icon {
  423. color: #03396c;
  424. font-size: 0.81em;
  425. padding-top: 6px;
  426. }
  427. .pub-banner {
  428. max-width: 100%;
  429. height: auto;
  430. margin-left: auto;
  431. margin-right: auto;
  432. }
  433. .pub .pub-title {
  434. margin-bottom: 5px;
  435. }
  436. .pub .pub-authors {
  437. font-style: italic;
  438. line-height: 30px; /* Match share bar line height. */
  439. }
  440. .pub .pub-row-heading {
  441. font-weight: bold;
  442. }
  443. .pub-list-item {
  444. margin-bottom: 40px;
  445. }
  446. .pub-list-item .pub-abstract {
  447. font-size: 1rem;
  448. }
  449. .pub-list-item .pub-authors {
  450. line-height: normal;
  451. font-style: normal;
  452. font-size: 1rem;
  453. color: #3170A5;
  454. }
  455. .pub-list-item .pub-publication {
  456. color: #090;
  457. font-size: 1rem;
  458. }
  459. .pub-list-item .pub-links {
  460. padding-top: 10px;
  461. }
  462. #container-publications {
  463. display: block;
  464. position: relative;
  465. overflow: hidden;
  466. }
  467. /*************************************************
  468. * Talks
  469. **************************************************/
  470. .talk-event {
  471. color: #090;
  472. font-size: 1rem;
  473. }
  474. /*************************************************
  475. * Projects
  476. **************************************************/
  477. #projects.home-section li {
  478. margin-bottom: 1rem;
  479. }
  480. #projects.home-section li:last-of-type {
  481. margin-bottom: 0;
  482. }
  483. #projects.home-section .project-title {
  484. display: inline-block;
  485. margin-bottom: 6px;
  486. }
  487. #projects.home-section .project-summary {
  488. font-size: 0.9rem;
  489. margin-bottom: 0.4rem;
  490. }
  491. #projects.home-section .project-tags {
  492. font-size: 0.75rem;
  493. color: #9c9c9c;
  494. }
  495. #container-projects {
  496. display: block;
  497. position: relative;
  498. /*margin-top: 5rem;*/
  499. overflow: hidden;
  500. }
  501. .project-toolbar{
  502. margin-bottom: 2rem;
  503. }
  504. .project-item {
  505. margin-bottom: 1.5rem;
  506. }
  507. .isotope-item {
  508. z-index: 2;
  509. }
  510. .isotope-item:hover{
  511. z-index: 3;
  512. }
  513. /*************************************************
  514. * Card component
  515. **************************************************/
  516. .card {
  517. margin-bottom: 1.5rem;
  518. overflow: hidden;
  519. text-overflow: ellipsis;
  520. background: #fff;
  521. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  522. transition: all 0.2s ease-out;
  523. }
  524. .card .card-image {
  525. display: block;
  526. position: relative;
  527. min-height: 100px;
  528. }
  529. .card h4 {
  530. font-size: 0.9rem;
  531. font-weight: 700;
  532. line-height: 1.5;
  533. text-transform: uppercase;
  534. }
  535. .card h4 a {
  536. color: #000;
  537. border-bottom: solid 1px transparent;
  538. }
  539. .card h4 a:hover {
  540. color: #000;
  541. border-bottom: solid 1px #000;
  542. text-decoration: none;
  543. }
  544. .card .card-text {
  545. padding: 0.75rem 1rem 0.75rem;
  546. }
  547. .card .card-text p {
  548. color: #999999;
  549. font-size: 0.75rem;
  550. }
  551. .card p:last-child {
  552. margin-bottom: 0;
  553. }
  554. .card .card-image.hover-overlay:before {
  555. display: block;
  556. position: absolute;
  557. left: 0;
  558. top: 0;
  559. width: 100%;
  560. height: 100%;
  561. background: #fff;
  562. content: " ";
  563. opacity: 0;
  564. transition: all 0.2s ease-out;
  565. }
  566. .card .card-image.hover-overlay:after {
  567. display: block;
  568. position: absolute;
  569. left: 0;
  570. top: 50%;
  571. width: 100%;
  572. transform: translate(0, -50%);
  573. opacity: 0;
  574. transition: all 0.2s ease-out;
  575. font-family: 'FontAwesome';
  576. content: '\f0c1';
  577. text-align: center;
  578. font-size: 3rem;
  579. color: #666;
  580. }
  581. .card:hover {
  582. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  583. }
  584. .card:hover .card-image.hover-overlay:before {
  585. opacity: 0.8;
  586. }
  587. .card:hover .card-image.hover-overlay:after {
  588. opacity: 0.6;
  589. }
  590. /*************************************************
  591. * Contact
  592. **************************************************/
  593. #contact.home-section .fa-ul {
  594. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  595. }
  596. #contact.home-section .fa-li {
  597. position: absolute;
  598. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  599. width: 2rem; /* Match `fa-2x` icon size. */
  600. top: 0.14285714em; /* Default FA value. */
  601. text-align: center;
  602. }
  603. #contact.home-section li {
  604. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  605. margin-bottom: 0.3rem;
  606. }
  607. #contact.home-section li:last-of-type {
  608. margin-bottom: 0;
  609. }
  610. /*************************************************
  611. * Footer
  612. **************************************************/
  613. footer {
  614. margin: 4rem 0 0;
  615. padding: 2rem 0;
  616. width: 100%;
  617. }
  618. footer p {
  619. font-size: 0.75rem;
  620. text-align: center;
  621. }
  622. .site-footer,
  623. footer a#back_to_top i {
  624. color: #899596;
  625. }
  626. /*************************************************
  627. * Button Primary: Color Override
  628. **************************************************/
  629. .btn-primary {
  630. border-color: #0095eb;
  631. background: #0095eb;
  632. }
  633. .btn-primary:hover,
  634. .btn-primary:focus,
  635. .btn-primary:active,
  636. .btn-primary.active,
  637. .open > .dropdown-toggle.btn-primary {
  638. background: #0095eb;
  639. }
  640. /*************************************************
  641. * Toolbar Buttons
  642. **************************************************/
  643. .btn-toolbar .btn {
  644. font-size: 0.9rem;
  645. padding: 10px 14px 9px;
  646. border: none;
  647. }
  648. .btn-toolbar .btn:first-child {
  649. border-radius: 6px 0 0 6px;
  650. }
  651. .btn-toolbar .btn:last-child {
  652. border-radius: 0 6px 6px 0;
  653. }
  654. .btn-toolbar .btn.btn-primary:hover,
  655. .btn-toolbar .btn.btn-primary:focus {
  656. background-color: rgba(0,149,235,0.6);
  657. }
  658. .btn-toolbar .btn.btn-primary:active,
  659. .btn-toolbar .btn.btn-primary.active {
  660. background-color: rgba(0,89,175,1);
  661. }
  662. /*************************************************
  663. * Button Outlines
  664. **************************************************/
  665. .btn-outline {
  666. background-color: transparent;
  667. color: inherit;
  668. transition: all .5s;
  669. }
  670. .btn-primary.btn-outline {
  671. color: #0095eb;
  672. border-color: #0095eb;
  673. }
  674. .btn-success.btn-outline {
  675. color: #5cb85c;
  676. }
  677. .btn-info.btn-outline {
  678. color: #5bc0de;
  679. }
  680. .btn-warning.btn-outline {
  681. color: #f0ad4e;
  682. }
  683. .btn-danger.btn-outline {
  684. color: #d9534f;
  685. }
  686. .btn-primary.btn-outline:hover,
  687. .btn-success.btn-outline:hover,
  688. .btn-info.btn-outline:hover,
  689. .btn-warning.btn-outline:hover,
  690. .btn-danger.btn-outline:hover {
  691. color: #fff;
  692. }
  693. /*************************************************
  694. * Navigation Bar
  695. **************************************************/
  696. .navbar {
  697. min-height: 70px !important;
  698. }
  699. .navbar-default {
  700. background: #fff;
  701. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  702. }
  703. nav#navbar-main li {
  704. font-size: 16px;
  705. }
  706. .navbar-default .navbar-nav>li>a,
  707. .navbar-default .navbar-nav>a:focus,
  708. .navbar-default .navbar-nav>a:hover {
  709. white-space: nowrap;
  710. -webkit-transition: 0.2s ease;
  711. transition: 0.2s ease;
  712. color: #34495e;
  713. font-weight: 600;
  714. }
  715. .navbar-default .navbar-nav>.active>a,
  716. .navbar-default .navbar-nav>.active>a:focus,
  717. .navbar-default .navbar-nav>.active>a:hover {
  718. color: #0095eb;
  719. font-weight: 700;
  720. background-color: transparent !important; /* Override Bootstrap. */
  721. }
  722. .navbar-brand,
  723. .navbar-nav li a {
  724. height: inherit;
  725. line-height: 50px;
  726. padding-top: 10px;
  727. padding-bottom: 10px;
  728. }
  729. .dropdown-menu > li > a {
  730. display: block;
  731. padding: 3px 20px;
  732. clear: both;
  733. font-weight: 400;
  734. line-height: 1.42857143;
  735. color: #34495e;
  736. white-space: nowrap;
  737. }
  738. .dropdown-menu > .active > a,
  739. .dropdown-menu > .active > a:focus,
  740. .dropdown-menu > .active > a:hover {
  741. color: #fff;
  742. text-decoration: none;
  743. background-color: #0095eb;
  744. outline: 0;
  745. }
  746. .navbar-default .navbar-brand {
  747. text-transform: uppercase;
  748. font-weight: bold;
  749. font-size: 1.2em;
  750. color: #2b2b2b;
  751. }
  752. @media screen and (max-width: 1200px) {
  753. .navbar {
  754. min-height: 50px !important;
  755. }
  756. .navbar-brand,
  757. .navbar-nav li a {
  758. height: inherit;
  759. line-height: 40px;
  760. padding-top: 5px;
  761. padding-bottom: 5px;
  762. }
  763. .navbar-header {
  764. float: none;
  765. min-height: inherit;
  766. }
  767. .navbar-left,
  768. .navbar-right {
  769. float: none !important;
  770. }
  771. .navbar-toggle {
  772. display: block;
  773. }
  774. .navbar-fixed-top {
  775. top: 0;
  776. border-width: 0 0 1px;
  777. }
  778. .navbar-collapse.collapse {
  779. display: none !important;
  780. }
  781. .navbar-nav {
  782. float: none !important;
  783. margin-top: 7.5px;
  784. }
  785. .navbar-nav > li {
  786. float: none;
  787. }
  788. .navbar-nav > li > a {
  789. padding-top: 10px;
  790. padding-bottom: 10px;
  791. line-height: normal;
  792. }
  793. .dropdown-menu > li > a {
  794. display: block;
  795. padding: 3px 20px;
  796. clear: both;
  797. font-weight: 400;
  798. line-height: 1.42857143;
  799. color: #34495e;
  800. white-space: nowrap;
  801. }
  802. .navbar-default .navbar-nav .open .dropdown-menu {
  803. position: static;
  804. float: none;
  805. width: auto;
  806. margin-top: 0;
  807. background-color: transparent;
  808. border: 0;
  809. box-shadow: none;
  810. }
  811. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  812. padding: 5px 15px 5px 25px;
  813. line-height: 20px;
  814. color: #34495e;
  815. }
  816. .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  817. .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  818. color: inherit;
  819. background-color: transparent;
  820. }
  821. .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  822. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus,
  823. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
  824. color: #0095eb;
  825. background-color: transparent;
  826. }
  827. .collapse.in {
  828. display: block !important;
  829. }
  830. }
  831. /*************************************************
  832. * Tables
  833. **************************************************/
  834. table {
  835. width: 100%;
  836. max-width: 100%;
  837. margin-bottom: 1rem;
  838. font-size: 0.93rem;
  839. }
  840. table > thead > tr > th,
  841. table > tbody > tr > th,
  842. table > tfoot > tr > th,
  843. table > thead > tr > td,
  844. table > tbody > tr > td,
  845. table > tfoot > tr > td {
  846. padding: 8px;
  847. line-height: 1.43;
  848. vertical-align: top;
  849. border-top: 1px solid #ddd;
  850. }
  851. table > thead > tr > th {
  852. vertical-align: bottom;
  853. border-bottom: 2px solid #ddd;
  854. }
  855. table > caption + thead > tr:first-child > th,
  856. table > colgroup + thead > tr:first-child > th,
  857. table > thead:first-child > tr:first-child > th,
  858. table > caption + thead > tr:first-child > td,
  859. table > colgroup + thead > tr:first-child > td,
  860. table > thead:first-child > tr:first-child > td {
  861. border-top: 0;
  862. }
  863. table > tbody + tbody {
  864. border-top: 2px solid #ddd;
  865. }
  866. table table {
  867. background-color: #fff;
  868. }
  869. /* Table Striped */
  870. table > tbody > tr:nth-child(odd) > td,
  871. table > tbody > tr:nth-child(odd) > th {
  872. background-color: #f9f9f9;
  873. }
  874. /* Table Hover */
  875. table > tbody > tr:hover > td,
  876. table > tbody > tr:hover > th {
  877. background-color: #e5e5e5;
  878. }
  879. /*************************************************
  880. * Alerts
  881. **************************************************/
  882. div.alert {
  883. border-radius: 10px;
  884. margin-bottom: 1rem;
  885. }
  886. div.alert p {
  887. position: relative;
  888. display: block;
  889. font-size: 1rem;
  890. margin-left: 2rem;
  891. margin-top: 0;
  892. margin-bottom: 0;
  893. }
  894. div.alert p:first-child::before {
  895. position: absolute;
  896. top: -0.5rem;
  897. left: -2rem;
  898. font-family: 'FontAwesome';
  899. font-size: 1.5rem;
  900. color: #fff;
  901. content: '\f05a';
  902. width: 1.5rem;
  903. text-align: center;
  904. }
  905. div.alert-warning p:first-child::before {
  906. content: '\f071';
  907. }
  908. div.alert a {
  909. color: rgba(255,255,255,0.9);
  910. text-decoration: none;
  911. border-bottom: solid 1px #e4e4e4;
  912. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  913. }
  914. div.alert a:hover {
  915. border-bottom-color: transparent;
  916. color: rgba(255,255,255,0.5) !important;
  917. }
  918. .alert-note {
  919. color: #fff;
  920. background-color: #03A9F4; /* Material LightBlue500 */
  921. border-color: #bce8f1;
  922. }
  923. .alert-warning {
  924. color: #fff;
  925. background-color: #f44336; /* Material Red500 */
  926. border-color: #ebccd1;
  927. }