hugo-academic.css 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  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-title {
  334. font-size: 1.75rem;
  335. }
  336. .article-title a {
  337. color: #151515;
  338. transition: color 0.6s ease;
  339. }
  340. .article-metadata {
  341. margin-bottom: 20px;
  342. line-height: 30px; /* Match share bar line height. */
  343. font-size: 14px;
  344. letter-spacing: 0.03em;
  345. color: #888;
  346. }
  347. .article-metadata a {
  348. color: #888;
  349. }
  350. .article-metadata a:hover {
  351. color: #0095eb;
  352. }
  353. .article-list-item {
  354. margin-bottom: 40px;
  355. }
  356. .article-list-item:last-child {
  357. margin-bottom: 0 !important;
  358. }
  359. .article-list-item .article-metadata {
  360. margin-bottom: 5px;
  361. }
  362. .article-metadata .article-date,
  363. .article-metadata .article-categories,
  364. .article-metadata .article-tags {
  365. margin-right: 10px;
  366. }
  367. .article-banner {
  368. width: 100%;
  369. height: auto;
  370. }
  371. .article-style img,
  372. .article-style video {
  373. box-shadow: 1px 1px 0px #edefed, -1px -1px 0px #edefed, 1px -1px 0px #edefed, -1px 1px 0px #edefed;
  374. margin-left: auto;
  375. margin-right: auto;
  376. margin-top: 60px;
  377. margin-bottom: 60px;
  378. padding-left: 0;
  379. padding-right: 0;
  380. }
  381. .article-style figure {
  382. margin-top: 60px;
  383. margin-bottom: 60px;
  384. }
  385. .article-style figure img {
  386. margin-top: 0;
  387. margin-bottom: 0;
  388. }
  389. #comments {
  390. padding: 20px;
  391. }
  392. /*************************************************
  393. * Publications
  394. **************************************************/
  395. .pub-icon {
  396. color: #03396c;
  397. font-size: 0.81em;
  398. padding-top: 6px;
  399. }
  400. .pub-banner {
  401. max-width: 100%;
  402. height: auto;
  403. margin-left: auto;
  404. margin-right: auto;
  405. }
  406. .pub .pub-title {
  407. margin-bottom: 5px;
  408. }
  409. .pub .pub-authors {
  410. font-style: italic;
  411. line-height: 30px; /* Match share bar line height. */
  412. }
  413. .pub .pub-row-heading {
  414. font-weight: bold;
  415. }
  416. .pub-list-item {
  417. margin-bottom: 40px;
  418. }
  419. .pub-list-item .pub-abstract {
  420. font-size: 1rem;
  421. }
  422. .pub-list-item .pub-authors {
  423. line-height: normal;
  424. font-style: normal;
  425. font-size: 1rem;
  426. color: #3170A5;
  427. }
  428. .pub-list-item .pub-publication {
  429. color: #090;
  430. font-size: 1rem;
  431. }
  432. .pub-list-item .pub-links {
  433. padding-top: 10px;
  434. }
  435. #container-publications {
  436. display: block;
  437. position: relative;
  438. overflow: hidden;
  439. }
  440. /*************************************************
  441. * Talks
  442. **************************************************/
  443. .talk-event {
  444. color: #090;
  445. font-size: 1rem;
  446. }
  447. /*************************************************
  448. * Projects
  449. **************************************************/
  450. #projects.home-section li {
  451. margin-bottom: 1rem;
  452. }
  453. #projects.home-section li:last-of-type {
  454. margin-bottom: 0;
  455. }
  456. #projects.home-section .project-title {
  457. display: inline-block;
  458. margin-bottom: 6px;
  459. }
  460. #projects.home-section .project-summary {
  461. font-size: 0.9rem;
  462. margin-bottom: 0.4rem;
  463. }
  464. #projects.home-section .project-tags {
  465. font-size: 0.75rem;
  466. color: #9c9c9c;
  467. }
  468. #container-projects {
  469. display: block;
  470. position: relative;
  471. /*margin-top: 5rem;*/
  472. overflow: hidden;
  473. }
  474. .project-toolbar{
  475. margin-bottom: 2rem;
  476. }
  477. .project-item {
  478. margin-bottom: 1.5rem;
  479. }
  480. .isotope-item {
  481. z-index: 2;
  482. }
  483. .isotope-item:hover{
  484. z-index: 3;
  485. }
  486. /*************************************************
  487. * Card component
  488. **************************************************/
  489. .card {
  490. margin-bottom: 1.5rem;
  491. overflow: hidden;
  492. text-overflow: ellipsis;
  493. background: #fff;
  494. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  495. transition: all 0.2s ease-out;
  496. }
  497. .card .card-image {
  498. display: block;
  499. position: relative;
  500. min-height: 100px;
  501. }
  502. .card h4 {
  503. font-size: 0.9rem;
  504. font-weight: 700;
  505. line-height: 1.5;
  506. text-transform: uppercase;
  507. }
  508. .card h4 a {
  509. color: #000;
  510. border-bottom: solid 1px transparent;
  511. }
  512. .card h4 a:hover {
  513. color: #000;
  514. border-bottom: solid 1px #000;
  515. text-decoration: none;
  516. }
  517. .card .card-text {
  518. padding: 0.75rem 1rem 0.75rem;
  519. }
  520. .card .card-text p {
  521. color: #999999;
  522. font-size: 0.75rem;
  523. }
  524. .card p:last-child {
  525. margin-bottom: 0;
  526. }
  527. .card .card-image.hover-overlay:before {
  528. display: block;
  529. position: absolute;
  530. left: 0;
  531. top: 0;
  532. width: 100%;
  533. height: 100%;
  534. background: #fff;
  535. content: " ";
  536. opacity: 0;
  537. transition: all 0.2s ease-out;
  538. }
  539. .card .card-image.hover-overlay:after {
  540. display: block;
  541. position: absolute;
  542. left: 0;
  543. top: 50%;
  544. width: 100%;
  545. transform: translate(0, -50%);
  546. opacity: 0;
  547. transition: all 0.2s ease-out;
  548. font-family: 'FontAwesome';
  549. content: '\f0c1';
  550. text-align: center;
  551. font-size: 3rem;
  552. color: #666;
  553. }
  554. .card:hover {
  555. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  556. }
  557. .card:hover .card-image.hover-overlay:before {
  558. opacity: 0.8;
  559. }
  560. .card:hover .card-image.hover-overlay:after {
  561. opacity: 0.6;
  562. }
  563. /*************************************************
  564. * Contact
  565. **************************************************/
  566. #contact.home-section .fa-ul {
  567. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  568. }
  569. #contact.home-section .fa-li {
  570. position: absolute;
  571. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  572. width: 2rem; /* Match `fa-2x` icon size. */
  573. top: 0.14285714em; /* Default FA value. */
  574. text-align: center;
  575. }
  576. #contact.home-section li {
  577. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  578. margin-bottom: 0.3rem;
  579. }
  580. #contact.home-section li:last-of-type {
  581. margin-bottom: 0;
  582. }
  583. /*************************************************
  584. * Footer
  585. **************************************************/
  586. footer {
  587. margin: 4rem 0 0;
  588. padding: 2rem 0;
  589. width: 100%;
  590. }
  591. footer p {
  592. font-size: 0.75rem;
  593. text-align: center;
  594. }
  595. .site-footer,
  596. footer a#back_to_top i {
  597. color: #899596;
  598. }
  599. /*************************************************
  600. * Button Primary: Color Override
  601. **************************************************/
  602. .btn-primary {
  603. border-color: #0095eb;
  604. background: #0095eb;
  605. }
  606. .btn-primary:hover,
  607. .btn-primary:focus,
  608. .btn-primary:active,
  609. .btn-primary.active,
  610. .open > .dropdown-toggle.btn-primary {
  611. background: #0095eb;
  612. }
  613. /*************************************************
  614. * Toolbar Buttons
  615. **************************************************/
  616. .btn-toolbar .btn {
  617. font-size: 0.9rem;
  618. padding: 10px 14px 9px;
  619. border: none;
  620. }
  621. .btn-toolbar .btn:first-child {
  622. border-radius: 6px 0 0 6px;
  623. }
  624. .btn-toolbar .btn:last-child {
  625. border-radius: 0 6px 6px 0;
  626. }
  627. .btn-toolbar .btn.btn-primary:hover,
  628. .btn-toolbar .btn.btn-primary:focus {
  629. background-color: rgba(0,149,235,0.6);
  630. }
  631. .btn-toolbar .btn.btn-primary:active,
  632. .btn-toolbar .btn.btn-primary.active {
  633. background-color: rgba(0,89,175,1);
  634. }
  635. /*************************************************
  636. * Button Outlines
  637. **************************************************/
  638. .btn-outline {
  639. background-color: transparent;
  640. color: inherit;
  641. transition: all .5s;
  642. }
  643. .btn-primary.btn-outline {
  644. color: #0095eb;
  645. border-color: #0095eb;
  646. }
  647. .btn-success.btn-outline {
  648. color: #5cb85c;
  649. }
  650. .btn-info.btn-outline {
  651. color: #5bc0de;
  652. }
  653. .btn-warning.btn-outline {
  654. color: #f0ad4e;
  655. }
  656. .btn-danger.btn-outline {
  657. color: #d9534f;
  658. }
  659. .btn-primary.btn-outline:hover,
  660. .btn-success.btn-outline:hover,
  661. .btn-info.btn-outline:hover,
  662. .btn-warning.btn-outline:hover,
  663. .btn-danger.btn-outline:hover {
  664. color: #fff;
  665. }
  666. /*************************************************
  667. * Navigation Bar
  668. **************************************************/
  669. .navbar {
  670. min-height: 70px !important;
  671. }
  672. .navbar-default {
  673. background: #fff;
  674. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  675. }
  676. nav#navbar-main li {
  677. font-size: 16px;
  678. }
  679. .navbar-default .navbar-nav>li>a,
  680. .navbar-default .navbar-nav>a:focus,
  681. .navbar-default .navbar-nav>a:hover {
  682. white-space: nowrap;
  683. -webkit-transition: 0.2s ease;
  684. transition: 0.2s ease;
  685. color: #34495e;
  686. font-weight: 600;
  687. }
  688. .navbar-default .navbar-nav>.active>a,
  689. .navbar-default .navbar-nav>.active>a:focus,
  690. .navbar-default .navbar-nav>.active>a:hover {
  691. color: #0095eb;
  692. font-weight: 700;
  693. background-color: transparent !important; /* Override Bootstrap. */
  694. }
  695. .navbar-brand,
  696. .navbar-nav li a {
  697. height: inherit;
  698. line-height: 50px;
  699. padding-top: 10px;
  700. padding-bottom: 10px;
  701. }
  702. .dropdown-menu > li > a {
  703. display: block;
  704. padding: 3px 20px;
  705. clear: both;
  706. font-weight: 400;
  707. line-height: 1.42857143;
  708. color: #34495e;
  709. white-space: nowrap;
  710. }
  711. .dropdown-menu > .active > a,
  712. .dropdown-menu > .active > a:focus,
  713. .dropdown-menu > .active > a:hover {
  714. color: #fff;
  715. text-decoration: none;
  716. background-color: #0095eb;
  717. outline: 0;
  718. }
  719. .navbar-default .navbar-brand {
  720. text-transform: uppercase;
  721. font-weight: bold;
  722. font-size: 1.2em;
  723. color: #2b2b2b;
  724. }
  725. @media screen and (max-width: 1200px) {
  726. .navbar {
  727. min-height: 50px !important;
  728. }
  729. .navbar-brand,
  730. .navbar-nav li a {
  731. height: inherit;
  732. line-height: 40px;
  733. padding-top: 5px;
  734. padding-bottom: 5px;
  735. }
  736. .navbar-header {
  737. float: none;
  738. min-height: inherit;
  739. }
  740. .navbar-left,
  741. .navbar-right {
  742. float: none !important;
  743. }
  744. .navbar-toggle {
  745. display: block;
  746. }
  747. .navbar-fixed-top {
  748. top: 0;
  749. border-width: 0 0 1px;
  750. }
  751. .navbar-collapse.collapse {
  752. display: none !important;
  753. }
  754. .navbar-nav {
  755. float: none !important;
  756. margin-top: 7.5px;
  757. }
  758. .navbar-nav > li {
  759. float: none;
  760. }
  761. .navbar-nav > li > a {
  762. padding-top: 10px;
  763. padding-bottom: 10px;
  764. line-height: normal;
  765. }
  766. .dropdown-menu > li > a {
  767. display: block;
  768. padding: 3px 20px;
  769. clear: both;
  770. font-weight: 400;
  771. line-height: 1.42857143;
  772. color: #34495e;
  773. white-space: nowrap;
  774. }
  775. .navbar-default .navbar-nav .open .dropdown-menu {
  776. position: static;
  777. float: none;
  778. width: auto;
  779. margin-top: 0;
  780. background-color: transparent;
  781. border: 0;
  782. box-shadow: none;
  783. }
  784. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  785. padding: 5px 15px 5px 25px;
  786. line-height: 20px;
  787. color: #34495e;
  788. }
  789. .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  790. .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  791. color: inherit;
  792. background-color: transparent;
  793. }
  794. .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  795. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus,
  796. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
  797. color: #0095eb;
  798. background-color: transparent;
  799. }
  800. .collapse.in {
  801. display: block !important;
  802. }
  803. }
  804. /*************************************************
  805. * Tables
  806. **************************************************/
  807. table {
  808. width: 100%;
  809. max-width: 100%;
  810. margin-bottom: 1rem;
  811. font-size: 0.93rem;
  812. }
  813. table > thead > tr > th,
  814. table > tbody > tr > th,
  815. table > tfoot > tr > th,
  816. table > thead > tr > td,
  817. table > tbody > tr > td,
  818. table > tfoot > tr > td {
  819. padding: 8px;
  820. line-height: 1.43;
  821. vertical-align: top;
  822. border-top: 1px solid #ddd;
  823. }
  824. table > thead > tr > th {
  825. vertical-align: bottom;
  826. border-bottom: 2px solid #ddd;
  827. }
  828. table > caption + thead > tr:first-child > th,
  829. table > colgroup + thead > tr:first-child > th,
  830. table > thead:first-child > tr:first-child > th,
  831. table > caption + thead > tr:first-child > td,
  832. table > colgroup + thead > tr:first-child > td,
  833. table > thead:first-child > tr:first-child > td {
  834. border-top: 0;
  835. }
  836. table > tbody + tbody {
  837. border-top: 2px solid #ddd;
  838. }
  839. table table {
  840. background-color: #fff;
  841. }
  842. /* Table Striped */
  843. table > tbody > tr:nth-child(odd) > td,
  844. table > tbody > tr:nth-child(odd) > th {
  845. background-color: #f9f9f9;
  846. }
  847. /* Table Hover */
  848. table > tbody > tr:hover > td,
  849. table > tbody > tr:hover > th {
  850. background-color: #e5e5e5;
  851. }
  852. /*************************************************
  853. * Alerts
  854. **************************************************/
  855. div.alert {
  856. border-radius: 10px;
  857. margin-bottom: 1rem;
  858. }
  859. div.alert p {
  860. position: relative;
  861. display: block;
  862. font-size: 1rem;
  863. margin-left: 2rem;
  864. margin-top: 0;
  865. margin-bottom: 0;
  866. }
  867. div.alert p:first-child::before {
  868. position: absolute;
  869. top: -0.5rem;
  870. left: -2rem;
  871. font-family: 'FontAwesome';
  872. font-size: 1.5rem;
  873. color: #fff;
  874. content: '\f05a';
  875. width: 1.5rem;
  876. text-align: center;
  877. }
  878. div.alert-warning p:first-child::before {
  879. content: '\f071';
  880. }
  881. div.alert a {
  882. color: rgba(255,255,255,0.9);
  883. text-decoration: none;
  884. border-bottom: solid 1px #e4e4e4;
  885. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  886. }
  887. div.alert a:hover {
  888. border-bottom-color: transparent;
  889. color: rgba(255,255,255,0.5) !important;
  890. }
  891. .alert-note {
  892. color: #fff;
  893. background-color: #03A9F4; /* Material LightBlue500 */
  894. border-color: #bce8f1;
  895. }
  896. .alert-warning {
  897. color: #fff;
  898. background-color: #f44336; /* Material Red500 */
  899. border-color: #ebccd1;
  900. }