Personal portfolio website created with bootstrap.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.5 KiB

  1. // Styling for the contact section
  2. .floating-label-form-group {
  3. position: relative;
  4. margin-bottom: 0;
  5. padding-bottom: 0.5em;
  6. border-bottom: 1px solid $gray-lighter;
  7. input,
  8. textarea {
  9. font-size: 1.5em;
  10. position: relative;
  11. z-index: 1;
  12. padding-right: 0;
  13. padding-left: 0;
  14. resize: none;
  15. border: none;
  16. border-radius: 0;
  17. background: none;
  18. box-shadow: none !important;
  19. }
  20. label {
  21. font-size: 0.85em;
  22. line-height: 1.764705882em;
  23. position: relative;
  24. z-index: 0;
  25. top: 2em;
  26. display: block;
  27. margin: 0;
  28. -webkit-transition: top 0.3s ease, opacity 0.3s ease;
  29. -moz-transition: top 0.3s ease, opacity 0.3s ease;
  30. -ms-transition: top 0.3s ease, opacity 0.3s ease;
  31. transition: top 0.3s ease, opacity 0.3s ease;
  32. vertical-align: middle;
  33. vertical-align: baseline;
  34. opacity: 0;
  35. }
  36. &:not(:first-child) {
  37. padding-left: 14px;
  38. border-left: 1px solid $gray-lighter;
  39. }
  40. }
  41. .floating-label-form-group-with-value {
  42. label {
  43. top: 0;
  44. opacity: 1;
  45. }
  46. }
  47. .floating-label-form-group-with-focus {
  48. label {
  49. color: $theme-success;
  50. }
  51. }
  52. form .row:first-child .floating-label-form-group {
  53. border-top: 1px solid $gray-lighter;
  54. }
  55. footer {
  56. color: white;
  57. h3 {
  58. margin-bottom: 30px;
  59. }
  60. .footer-above {
  61. padding-top: 50px;
  62. background-color: $theme-primary;
  63. }
  64. .footer-col {
  65. margin-bottom: 50px;
  66. }
  67. .footer-below {
  68. padding: 25px 0;
  69. background-color: darken($theme-primary, .05);
  70. }
  71. }