hugo-academic.css 18 KB

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