style.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. @import url('https://fonts.googleapis.com/css?family=Raleway');
  2. @import url('https://fonts.googleapis.com/css?family=Quicksand');
  3. @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
  4. @import url('https://fonts.googleapis.com/css?family=Press+Start+2P');
  5. @font-face {
  6. font-family: 'Segoe UI Emoji';
  7. font-style: normal;
  8. src: url("seguiemj.ttf")
  9. }
  10. :root{
  11. --tempo-a: 0.2s;
  12. --tempo-b: 0.3s;
  13. --tempo-c: 0.5s;
  14. --tempo-d: 0.8s;
  15. --tempo-d: 1.3s;
  16. }
  17. *{
  18. transition-duration:0.6s;
  19. }
  20. html, body{
  21. height: 100%;
  22. width:100%;
  23. }
  24. body{
  25. transition-duration:1s;
  26. background:#fff;
  27. width:100%;
  28. margin:0;
  29. animation-name:opac;
  30. animation-duration: var( --tempo-a );
  31. }
  32. a, a:hover{
  33. text-decoration:none;
  34. }
  35. .cabecalho{
  36. background-color:#000;
  37. height:14em;
  38. width:100%;
  39. position:relative;
  40. display:block;
  41. left:0;
  42. right:0;
  43. top:0;
  44. animation-name:opac;
  45. animation-duration: var( --tempo-b );
  46. z-index:2;
  47. }
  48. .imags{
  49. margin:2px;
  50. display:inline-block;
  51. }
  52. .titles{
  53. background:#000;
  54. font-size:30px;
  55. position: relative;
  56. display:inline;
  57. margin-bottom:50%;
  58. color: #fff;
  59. z-index:2;
  60. animation-name:opac;
  61. animation-duration: var( --tempo-c );
  62. }
  63. .corpo{
  64. background-color:#fff;
  65. position:relative;
  66. min-height: 100%;
  67. height: 100%;
  68. margin: 0 auto -50px;
  69. }
  70. #links{
  71. position:absolute;
  72. height:30em;
  73. width:25%;
  74. background:#444;
  75. color:#fff;
  76. padding-top:70px;
  77. display:inline;
  78. float:left;
  79. text-align:center;
  80. z-index:2;
  81. }
  82. #linksbg{
  83. position:fixed;
  84. height:100%;
  85. top:0;
  86. bottom:0;
  87. width:25%;
  88. background:#444;
  89. color:#fff;
  90. float:left;
  91. z-index:1;
  92. }
  93. #links a{
  94. text-decoration:underline;
  95. color:#666;
  96. font-size:20px;
  97. font-family:"Quicksand", sans-serif;
  98. text-decoration:none;
  99. text-align:justify;
  100. }#links a:hover{
  101. text-decoration:underline;
  102. color:#fff;
  103. font-size:20px;
  104. font-family:"Quicksand", sans-serif;
  105. text-decoration:none;
  106. text-align:justify;
  107. text-decoration:none;
  108. }
  109. #conteudo{
  110. width:74%;
  111. background:#fff;
  112. float:right;
  113. padding:20px;
  114. text-align:center;
  115. padding-top:20px;
  116. padding-left:10px;
  117. padding-right:10px;
  118. animation-name:opac;
  119. animation-duration: var( --tempo-d );
  120. }
  121. #rodape{
  122. position:relative;
  123. height: 100px;
  124. width:75%;
  125. color: #fff;
  126. background-color: #000;
  127. float:right;
  128. text-align:center;
  129. padding:20px;
  130. padding-bottom:0px;
  131. z-index:0;
  132. }
  133. text-decoration:none;
  134. }
  135. /*############################### Code, para usar quando quiser destacar algum código*/
  136. #copyr{
  137. color:white;
  138. font-size: 12px;
  139. position:relative;
  140. text-align:center;
  141. }
  142. .icon{
  143. margin:0;
  144. }
  145. .toper{
  146. display:none;
  147. }
  148. /*############################### aqui é para celulares e tal.. */
  149. @media (max-width:800px){
  150. html, body{
  151. width:100%;
  152. }
  153. .cabecalho{
  154. z-index:4;
  155. }
  156. .titles{
  157. font-size:30px;
  158. display:inline-block;
  159. color: #fff;
  160. }
  161. .toper{
  162. position:fixed;
  163. left:0;
  164. top:0;
  165. right:0;
  166. display:flex;
  167. justify-content:space-between;
  168. z-index:3;
  169. background-color:#111;
  170. }
  171. #links{
  172. display:none;
  173. }
  174. #linksbg{
  175. display:none;
  176. }
  177. #mobil{
  178. position:fixed;
  179. height:30em;
  180. width:30%;
  181. background:#444;
  182. color:#fff;
  183. padding-top:70px;
  184. float:left;
  185. text-align:center;
  186. display:fixed;
  187. min-width:50%;
  188. max-width:80%;
  189. height:100%;
  190. top:0;
  191. bottom:0;
  192. }
  193. #mobil a{
  194. text-decoration:underline;
  195. color:#666;
  196. font-size:20px;
  197. font-family:"Quicksand", sans-serif;
  198. text-decoration:none;
  199. text-align:justify;
  200. }
  201. #rodape{
  202. margin:auto;
  203. width:100%;
  204. text-align:center;
  205. padding:0;
  206. }
  207. #conteudo{
  208. margin:auto;
  209. width: 93.5%;/*Visual padrão de tamanho*/
  210. text-align:center;
  211. padding-left:10px;
  212. }
  213. }
  214. .artig{
  215. color:#000;
  216. }
  217. .imags{
  218. opacity:0.7;
  219. }
  220. .imags:hover{
  221. opacity:1;
  222. }