ui.css 12 KB

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