main.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. /*
  2. * Author: Carlos Alvarez
  3. * URL: http://alvarez.is
  4. *
  5. * Project Name: FLATTY - Free Bootstrap 3 Theme
  6. * Version: 1.0
  7. * URL: http://blacktie.co
  8. */
  9. body {
  10. background-color: #f2f2f2;
  11. font-family: 'Roboto', sans-serif;
  12. font-weight: 300;
  13. font-size: 16px;
  14. color: #555;
  15. -webkit-font-smoothing: antialiased;
  16. -webkit-overflow-scrolling: touch;
  17. }
  18. /* Titles */
  19. h1, h2, h3, h4, h5, h6 {
  20. font-family: 'Roboto', sans-serif;
  21. font-weight: 300;
  22. color: #333;
  23. }
  24. h1 {
  25. font-size: 40px;
  26. }
  27. h3 {
  28. color: #95a5a6;
  29. font-weight: 400;
  30. }
  31. h4 {
  32. color: #95a5a6;
  33. font-weight: 400;
  34. font-size: 20px;
  35. }
  36. .ellipsis p {
  37. margin-bottom:10px;
  38. white-space: nowrap;
  39. overflow: hidden;
  40. text-overflow: ellipsis;
  41. }
  42. .centered {
  43. text-align: center;
  44. }
  45. /* Links */
  46. a {
  47. color: #3498db;
  48. word-wrap: break-word;
  49. -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  50. -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  51. -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  52. -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  53. transition: color 0.1s ease-in, background 0.1s ease-in;
  54. }
  55. a:hover,
  56. a:focus {
  57. color: #7b7b7b;
  58. text-decoration: none;
  59. outline: 0;
  60. }
  61. a:before,
  62. a:after {
  63. -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  64. -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  65. -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  66. -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  67. transition: color 0.1s ease-in, background 0.1s ease-in;
  68. }
  69. hr {
  70. display: block;
  71. height: 1px;
  72. border: 0;
  73. border-top: 1px solid #ccc;
  74. margin: 1em 0;
  75. padding: 0;
  76. }
  77. .navbar-default {
  78. background-color: #3498db;
  79. border-color: transparent;
  80. }
  81. .navbar-default .navbar-brand {
  82. color: white;
  83. }
  84. .navbar-default .navbar-nav > li > a {
  85. color: white;
  86. }
  87. /* Helpers */
  88. .mt {
  89. margin-top: 40px;
  90. margin-bottom: 40px;
  91. }
  92. .nh {
  93. margin-top: 80px;
  94. margin-bottom: 40px;
  95. }
  96. .form-control {
  97. height: 42px;
  98. font-size: 18px;
  99. width: 280px;
  100. }
  101. i {
  102. margin: 8px;
  103. color: #3498db;
  104. }
  105. /* HeaderWrap */
  106. #headerwrap {
  107. /* background: url(../img/bg01.jpg) no-repeat center top; */
  108. background-color: #3498db;
  109. margin-top: -20px;
  110. padding-top:120px;
  111. background-attachment: relative;
  112. background-position: center center;
  113. min-height: 400px;
  114. max-height: 800px;
  115. width: 100%;
  116. -webkit-background-size: 100%;
  117. -moz-background-size: 100%;
  118. -o-background-size: 100%;
  119. background-size: 100%;
  120. -webkit-background-size: cover;
  121. -moz-background-size: cover;
  122. -o-background-size: cover;
  123. background-size: cover;
  124. }
  125. #headerwrap h1 {
  126. color: white;
  127. font-size: 60px;
  128. font-weight: bold;
  129. letter-spacing: 1px;
  130. }
  131. #menubutton {
  132. max-height: 50px;
  133. margin-top: 6px;
  134. padding-top: 15px;
  135. margin-left: 10px;
  136. }
  137. .panel-sponsor {
  138. min-height: 350px;
  139. text-align: justify;
  140. text-justify: inter-word;
  141. }
  142. @media (min-width: 768px) and (max-width: 991px) {
  143. .navbar-collapse.collapse {
  144. display: none !important;
  145. }
  146. .navbar-collapse.collapse.in {
  147. display: block !important;
  148. }
  149. .navbar-header .collapse, .navbar-toggle {
  150. display:block !important;
  151. }
  152. .navbar-header {
  153. float:none;
  154. }
  155. .navbar-collapse {
  156. overflow:hidden;
  157. }
  158. #menubutton {
  159. margin-right: 40px;
  160. width: 45px;
  161. }
  162. .text-shrink {
  163. visibility: hidden;
  164. }
  165. }
  166. @media (max-width:767px) {
  167. #menubutton {
  168. max-height: 50px;
  169. margin-top: 6px;
  170. padding-top: 15px;
  171. margin-left: 15px;
  172. margin-right: 15px;
  173. }
  174. }
  175. /* entire container, keeps perspective */
  176. .flip-container {
  177. perspective: 1000;
  178. }
  179. /* flip the pane when hovered */
  180. .flip-container:hover .flipper, .flip-container.hover .flipper {
  181. transform: rotateY(180deg);
  182. }
  183. .flip-container, .front, .back {
  184. width: 180px;
  185. height: 180px;
  186. }
  187. /* flip speed goes here */
  188. .flipper {
  189. transition: 0.6s;
  190. transform-style: preserve-3d;
  191. position: relative;
  192. }
  193. /* hide back of pane during swap */
  194. .front, .back {
  195. backface-visibility: hidden;
  196. position: absolute;
  197. top: 0;
  198. left: 0;
  199. }
  200. /* front pane, placed above back */
  201. .front {
  202. z-index: 2;
  203. /* for firefox 31 */
  204. transform: rotateY(0deg);
  205. }
  206. /* back, initially hidden pane */
  207. .back {
  208. transform: rotateY(180deg);
  209. }
  210. .back img {
  211. -moz-transform: scaleX(-1);
  212. -o-transform: scaleX(-1);
  213. -webkit-transform: scaleX(-1);
  214. transform: scaleX(-1);
  215. filter: FlipH;
  216. -ms-filter: "FlipH";
  217. }
  218. .panel-box p {
  219. height: 1.5em;
  220. }