ui.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589
  1. /**********************************
  2. * Fonts used across the page *
  3. **********************************/
  4. /* Font */
  5. @font-face {
  6. font-family: 'Nunito';
  7. src: url('/fonts/Nunito-Regular.ttf');
  8. }
  9. /**********************************
  10. * Elements that are solely for *
  11. * the desktop or mobile *
  12. * version. *
  13. **********************************/
  14. .desktop{
  15. display: initial;
  16. }
  17. .mobile{
  18. display: none;
  19. }
  20. /**********************************
  21. * Styles to be applied across *
  22. * all the site for all the *
  23. * elements of it's type *
  24. **********************************/
  25. /* Styles for the body of the page */
  26. body{
  27. background-color: #111111;
  28. }
  29. /* Style for all links */
  30. a{
  31. color: #555555;
  32. text-shadow: 0 0 0.5em #7777ff;
  33. text-decoration: none;
  34. }
  35. .fake_a{
  36. color: #555555;
  37. text-shadow: 0 0 0.5em #7777ff;
  38. text-decoration: none;
  39. }
  40. /* Elements fith bold font */
  41. .bold{
  42. font-weight: bold;
  43. }
  44. .pointer {
  45. cursor: pointer;
  46. }
  47. /* Hidden elements */
  48. .hidden{
  49. display: none;
  50. }
  51. img.slider{
  52. width: 1em;
  53. height: 1em;
  54. vertial-align: middle;
  55. transition: all .3s ease-in-out;
  56. }
  57. div#cover{
  58. display: none;
  59. background-color: #000000bb;
  60. opacity: 0;
  61. transition: opacity .3s ease-in-out;
  62. position: fixed;
  63. top: 0;
  64. left: 0;
  65. right: 0;
  66. bottom: 0;
  67. }
  68. /**********************************
  69. * Toolbar style *
  70. **********************************/
  71. /* Container for the header */
  72. div#header_parent{
  73. width: 100%;
  74. text-align: center;
  75. }
  76. /* The actual header */
  77. nav#header{
  78. text-align: center;
  79. height: 3.4em;
  80. display: inline;
  81. z-index: 300;
  82. margin-left: auto;
  83. margin-right: auto;
  84. font-weight: bold;
  85. font-size: 110%;
  86. }
  87. /* Dummy span to use as vertical separator between links */
  88. nav#header span.link_separator{
  89. border-left: 0.077em solid rgba(200, 200, 200, .5);
  90. }
  91. /* All the links in the bar. Contains the text and the icon */
  92. nav#header a{
  93. margin: auto;
  94. text-decoration: none;
  95. color: #cccccc;
  96. text-shadow: 0 0 0.5em #000000;
  97. }
  98. /* Contains everithing inside each link (direct and only child of a.header_link) */
  99. nav#header span.header_container {
  100. margin: auto;
  101. text-align: center;
  102. min-width: 3.125em;
  103. margin-right: 0.43em;
  104. margin-left: 0.43em;
  105. padding-left: 0.625em;
  106. padding-top: 0.375em;
  107. padding-bottom: 0.375em;
  108. padding-right: 2.19em;
  109. display: inline-block;
  110. position: relative;
  111. transition: all .3s ease-in-out;
  112. box-shadow: 0 0 0.063em #ffffff00;
  113. border: 0.06em solid #ffffff00;
  114. border-radius: 0.5em;
  115. }
  116. nav#header span.header_container:hover {
  117. border: 0.06em solid #ffffff88;
  118. background-color: #ffffff33;
  119. }
  120. /* Contains the icon for each entry */
  121. nav#header span.header_icon_container{
  122. border-bottom: 0.063em solid #999999;
  123. padding-bottom: 0.313em;
  124. }
  125. /* Icon for each entry of the header */
  126. nav#header img.header_icon{
  127. opacity: 0.3;
  128. width: 1.563em;
  129. height: 1.563em;
  130. vertical-align: middle;
  131. transition: opacity 0.4s ease-in-out;
  132. }
  133. nav#header span.header_container:hover img.header_icon{
  134. opacity: 1;
  135. }
  136. /* A line separating the header from the rest of the page */
  137. hr#header_separator{
  138. width: 70%;
  139. }
  140. /**********************************
  141. * Footer style *
  142. **********************************/
  143. /* The actual footer */
  144. div#footer{
  145. display: inline-block;
  146. font-size: 80%;
  147. text-align: center;
  148. height: 3.438em;
  149. margin-left: auto;
  150. margin-right: auto;
  151. margin-top: 3.125em;
  152. margin-bottom: 3.125em;
  153. color: #dddddd;
  154. }
  155. /* A table containing all the elements in the footer */
  156. div#footer table#footer_table{
  157. margin-left: auto;
  158. margin-right: auto;
  159. width: 80%;
  160. table-layout: fixed;
  161. }
  162. /* An horizontal line separating the page contents from the footer */
  163. div#footer hr#footer_separator{
  164. /* margin-top: 3.125em; */
  165. border: 0;
  166. background-color: #444444;
  167. height: 0.1em;
  168. width: 70%;
  169. }
  170. /* Left area of the footer */
  171. div#footer td#footer_left{
  172. width: 33%;
  173. text-align: center;
  174. }
  175. /* Middle area of the footer */
  176. div#footer td#footer_center{
  177. width: 33%;
  178. text-align: center;
  179. }
  180. /* Right area of the footer */
  181. div#footer td#footer_right{
  182. width: 33%;
  183. text-align: center;
  184. }
  185. /* Icons for social media */
  186. div#footer img.footer_social_icon{
  187. width: 1.875em;
  188. vertical-align: middle;
  189. }
  190. div#footer a.lang img{
  191. height: 1em;
  192. margin: 0.5em;
  193. border-radius: 0.2em;
  194. border: 0.15em solid #555555;
  195. cursor: pointer;
  196. box-shadow: 0 0 0.7em #dde;
  197. transition: all .3s ease-in-out;
  198. }
  199. div#footer a.lang img:hover{
  200. box-shadow: 0 0 1em #111;
  201. }
  202. /**********************************
  203. * Styles for the elements that *
  204. * compose the basic strucure of *
  205. * the site. *
  206. **********************************/
  207. /* The content is everything between the header and the footer */
  208. div#content{
  209. position: relative;
  210. width: 100%;
  211. height: 100%;
  212. margin-bottom: 1.875em;
  213. }
  214. div.section{
  215. margin: 0.5em;
  216. padding: 0;
  217. background-color: #ffffff;
  218. border: 0.063em solid #005500;
  219. border-radius: 1em 1em;
  220. box-shadow: 0 0 0.75em #003300;
  221. overflow: hidden;
  222. }
  223. div.section h3.section_title{
  224. font-weight: bold;
  225. color: #ccddff;
  226. text_align: left;
  227. padding: 0.2em 0.4em 0.2em 0.4em;
  228. margin: 0;
  229. text-shadow: 0 0 0.4em #000022;
  230. font-size: 150%;
  231. background: linear-gradient(to bottom, #1e9957 0%,#29d889 89%,#20ca7c 97%,#7de8b9 100%);
  232. }
  233. /* .entry is a style only class to show content. Must be allways children os a .lighted element */
  234. div.section div.entry{
  235. border: 0.1em solid #aaffaa00;
  236. border-radius: 0.3em;
  237. padding: 0.5em;
  238. margin: 0.5em;
  239. transition: all .4s ease-in-out;
  240. }
  241. div.section div.entry_list:hover{
  242. background-color: #efffef;
  243. border: 0.1em solid #aaffaaff;
  244. }
  245. /* Style for the mathces in search results */
  246. span.result_counter{
  247. margin-left: 1.2em;
  248. margin-bottom: 0.5em;
  249. font-weight: bold;
  250. font-style: italic;
  251. }
  252. /* Shown when no records on database */
  253. div.unavailable{
  254. margin-left: 4em;
  255. font-style: italic;
  256. }
  257. /**********************************
  258. * Styles to be applied to some *
  259. * horizontally scrollable *
  260. * elements *
  261. **********************************/
  262. /* Horizontall scrollbar that apears when a project has lots of renders */
  263. .slider::-webkit-scrollbar{
  264. width: 0.5em;
  265. height: 0.25em;
  266. background-color: #444444;
  267. }
  268. .slider::-webkit-scrollbar-thumb{
  269. background-color: #cccccc;
  270. border-radius: 0.714em;
  271. }
  272. .slider::-webkit-scrollbar-thumb:hover{
  273. background-color: #cccccc;
  274. border: 0.143em solid #000000;
  275. }
  276. .slider::-webkit-scrollbar-thumb:active{
  277. background-color: #cccccc;
  278. border: 0.143em solid #000000;
  279. }
  280. /* Icons for sharing page in a social network */
  281. img.social_icon{
  282. width: 3em;
  283. height: 3em;
  284. }
  285. /* Elements that should have the cursor as pointer */
  286. .pointer{
  287. cursor: pointer;
  288. }
  289. /**********************************
  290. * Styles for diverse input *
  291. * elements. Type-assigned *
  292. **********************************/
  293. /* Font for all the input elements */
  294. input{
  295. font-family: 'Nunito';
  296. }
  297. /* Style for the "submit" type elements in forms */
  298. input[type=submit]{
  299. font-weight: bold;
  300. color: #cccccc;
  301. background-color: #555555;
  302. border: 0.143em solid #bbbbbb;
  303. border-radius: 0.429em;
  304. padding: 0.5em;
  305. text-shadow: 0 0 0.75em #000000;
  306. cursor: pointer;
  307. }
  308. /* Style forr buttons */
  309. input[type=button]{
  310. font-weight: bold;
  311. color: #cccccc;
  312. background-color: #555555;
  313. border: 0.143em solid #bbbbbb;
  314. border-radius: 0.429em;
  315. padding: 0.5em;
  316. text-shadow: 0 0 0.75em #000000;
  317. cursor: pointer;
  318. }
  319. /* Style for textboxes */
  320. input[type=text]{
  321. font-weight: bold;
  322. color: #224422;
  323. background-color: #bbccbb;
  324. border: 0.286em solid #ddeedd;
  325. border-color: #dddddd;
  326. border-radius: 0.429em;
  327. padding: 0.25em;
  328. text-shadow: 0 0 0.5em #ffffff;
  329. }
  330. input[type=checkbox]{
  331. width: 1em;
  332. height: 1em;
  333. border-radius: 0.2em;
  334. border: 0.063em solid #005500;
  335. }
  336. /* Style for textareas */
  337. textarea{
  338. width: 80%;
  339. font-weight: bold;
  340. color: #444444;
  341. background-color: #bbbbbb;
  342. border: 0.286em solid #dddddd;
  343. border-color: #dddddd;
  344. border-radius: 0.286em;
  345. padding: 0.25em;
  346. text-shadow: 0 0 0.5em #ffffff;
  347. resize: none;
  348. }
  349. /* Style for selects */
  350. select{
  351. font-weight: bold;
  352. color: #444444;
  353. background-color: #bbbbbb;
  354. border: 0.286em solid #dddddd;
  355. border-radius: 0.286em;
  356. padding: 0.25em;
  357. text-shadow: 0 0 0.5em #ffffff;
  358. }
  359. /* Style for placeholders in input fields */
  360. ::-webkit-input-placeholder { /* WebKit browsers */
  361. color: #777777;
  362. }
  363. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  364. color: #777777;
  365. }
  366. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  367. color: #777777;
  368. }
  369. :-ms-input-placeholder { /* Internet Explorer 10+ */
  370. color: #777777;
  371. }
  372. /* Style-only class user to indicate that a field is incorrect. Ususally this class is added to an element with js */
  373. .error{
  374. border-color: #ffaaaa;
  375. }
  376. /* Style for the textbox input when the entered text is not the expected one */
  377. input[type=text].error{
  378. border-color: #ffaaaa;
  379. }
  380. /* Style for the textared input when the entered text is not the expected one */
  381. textarea.error{
  382. border-color: #ffaaaa;
  383. }
  384. /* Style for buttons that act as links */
  385. a.a_button{
  386. display: inline-block;
  387. color: #cccccc;
  388. background-color: #555555;
  389. border: 0.143em solid #bbbbbb;
  390. border-radius: 0.429em;
  391. padding: 0.5em;
  392. text-shadow: 0 0 0.75em #000000;
  393. text-decoration: none;
  394. font: -webkit-small-control;
  395. font-family: 'Nunito';
  396. font-weight: bold;
  397. }
  398. /**********************************
  399. * Styles for comment-related *
  400. * elements *
  401. **********************************/
  402. /* Contains fields to identify the user before the comment can be posted. Hidden by css, must be displayed with js */
  403. div#identification_form{
  404. display: none;
  405. }
  406. /* Contain a comment, with the details and the text */
  407. div.comment{
  408. background-color: #efffef;
  409. border: 0.1em solid #aaffaa;
  410. border-radius: 0.3em;
  411. padding: 0.5em;
  412. margin: 0.5em;
  413. }
  414. /* User who posted the coment */
  415. div.comment h4.comment_user{
  416. margin-top: 0.417em;
  417. margin-bottom: 0;
  418. }
  419. div.comment h4.comment_user span.comment_user_registered{
  420. font-weight: bold;
  421. font-size: 110%;
  422. color: #005500;
  423. }
  424. /* Style for the comment's images */
  425. img.comment_image{
  426. border: 0.077em solid black;
  427. max-height: 6em;
  428. max-width: 60%;
  429. display: block;
  430. vertical-align: top;
  431. border: 0.133em solid black;
  432. margin-left: 0.938em;
  433. margin-bottom: 0.938em;
  434. box-shadow: 0 0 1em #444444;
  435. }
  436. /* Paragraph with the comment text */
  437. p.comment_text{
  438. vertical-align: top;
  439. width: auto;
  440. display: block;
  441. margin-top: 0.938em;
  442. margin-left: 0.938em;
  443. }
  444. span.comment_date{
  445. font-size: 80%;
  446. font-style: italic;
  447. }
  448. /* Input field for the comment text */
  449. textarea#new_comment_text{
  450. width: 98%;
  451. }
  452. /* Input field for the comment user */
  453. input#new_comment_user{
  454. width: 47%;
  455. }
  456. /* Input field for the comment email */
  457. input#new_comment_email{
  458. width: 47%;
  459. }
  460. /* Styles so the input field to upload an image with the comment looks like a button */
  461. label.image_upload {
  462. font-weight: bold;
  463. color: #cccccc;
  464. background-color: #555555;
  465. border: 0.067em solid #bbbbbb;
  466. border-radius: 0.2em;
  467. padding: 0.5em;
  468. text-shadow: 0 0 0.750em #000000;
  469. font-size: 0.813em; /*Same as buttons*/
  470. font-family: 'Nunito';
  471. }
  472. label.image_upload input {
  473. width: 0 !important;
  474. opacity: 0 !important;
  475. overflow: hidden !important;
  476. }
  477. /* Previsualization for the upload image in a comment */
  478. img#new_comment_image_preview{
  479. max-height: 7.692em;
  480. max-width: 11.538em;
  481. }
  482. /**********************************
  483. * Styles for the social buttons. *
  484. **********************************/
  485. a.share img.share{
  486. display: inline-block;
  487. vertical-align: top;
  488. overflow: hidden;
  489. width: 1.6em;
  490. height: 1.6em;
  491. border: 0.1em solid #003300;
  492. border-radius: 2em;
  493. box-shadow: 0 0 0.3em #005500;
  494. margin: 0.2em;
  495. transition: all .3s ease-in-out;
  496. }
  497. a.share img.share:hover{
  498. box-shadow: 0 0 0.7em #005500;
  499. border-radius: 0.7em;
  500. }