ui.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  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. background-color: #ffffff;
  190. border: 0.1em solid #ffffff;
  191. border-radius: 0.3em;
  192. }
  193. div#footer a.lang img{
  194. height: 1em;
  195. margin: 0.5em;
  196. border-radius: 0.2em;
  197. border: 0.15em solid #555555;
  198. cursor: pointer;
  199. box-shadow: 0 0 0.7em #dde;
  200. transition: all .3s ease-in-out;
  201. }
  202. div#footer a.lang img:hover{
  203. box-shadow: 0 0 1em #111;
  204. }
  205. /**********************************
  206. * Styles for the elements that *
  207. * compose the basic strucure of *
  208. * the site. *
  209. **********************************/
  210. /* The content is everything between the header and the footer */
  211. div#content{
  212. position: relative;
  213. width: 100%;
  214. height: 100%;
  215. margin-bottom: 1.875em;
  216. }
  217. div.section{
  218. margin: 0.5em;
  219. padding: 0;
  220. background-color: #ffffff;
  221. border: 0.063em solid #005500;
  222. border-radius: 1em 1em;
  223. box-shadow: 0 0 0.75em #003300;
  224. overflow: hidden;
  225. }
  226. div.section h3.section_title{
  227. font-weight: bold;
  228. color: #ccddff;
  229. text_align: left;
  230. padding: 0.2em 0.4em 0.2em 0.4em;
  231. margin: 0;
  232. text-shadow: 0 0 0.4em #000022;
  233. font-size: 150%;
  234. background: linear-gradient(to bottom, #1e9957 0%,#29d889 89%,#20ca7c 97%,#7de8b9 100%);
  235. }
  236. /* .entry is a style only class to show content. Must be allways children os a .lighted element */
  237. div.section div.entry{
  238. border: 0.1em solid #aaffaa00;
  239. border-radius: 0.3em;
  240. padding: 0.5em;
  241. margin: 0.5em;
  242. transition: all .4s ease-in-out;
  243. }
  244. div.section div.entry_list:hover{
  245. background-color: #efffef;
  246. border: 0.1em solid #aaffaaff;
  247. }
  248. /* Style for the mathces in search results */
  249. span.result_counter{
  250. margin-left: 1.2em;
  251. margin-bottom: 0.5em;
  252. font-weight: bold;
  253. font-style: italic;
  254. }
  255. /* Shown when no records on database */
  256. div.unavailable{
  257. margin-left: 4em;
  258. font-style: italic;
  259. }
  260. /**********************************
  261. * Styles to be applied to some *
  262. * horizontally scrollable *
  263. * elements *
  264. **********************************/
  265. /* Horizontall scrollbar that apears when a project has lots of renders */
  266. .slider::-webkit-scrollbar{
  267. width: 0.5em;
  268. height: 0.25em;
  269. background-color: #444444;
  270. }
  271. .slider::-webkit-scrollbar-thumb{
  272. background-color: #cccccc;
  273. border-radius: 0.714em;
  274. }
  275. .slider::-webkit-scrollbar-thumb:hover{
  276. background-color: #cccccc;
  277. border: 0.143em solid #000000;
  278. }
  279. .slider::-webkit-scrollbar-thumb:active{
  280. background-color: #cccccc;
  281. border: 0.143em solid #000000;
  282. }
  283. /* Icons for sharing page in a social network */
  284. img.social_icon{
  285. width: 3em;
  286. height: 3em;
  287. }
  288. /* Elements that should have the cursor as pointer */
  289. .pointer{
  290. cursor: pointer;
  291. }
  292. /**********************************
  293. * Styles for diverse input *
  294. * elements. Type-assigned *
  295. **********************************/
  296. /* Font for all the input elements */
  297. input{
  298. font-family: 'Nunito';
  299. }
  300. /* Style for the "submit" type elements in forms */
  301. input[type=submit]{
  302. font-weight: bold;
  303. color: #cccccc;
  304. background-color: #555555;
  305. border: 0.143em solid #bbbbbb;
  306. border-radius: 0.429em;
  307. padding: 0.5em;
  308. text-shadow: 0 0 0.75em #000000;
  309. cursor: pointer;
  310. }
  311. /* Style forr buttons */
  312. input[type=button]{
  313. font-weight: bold;
  314. color: #cccccc;
  315. background-color: #555555;
  316. border: 0.143em solid #bbbbbb;
  317. border-radius: 0.429em;
  318. padding: 0.5em;
  319. text-shadow: 0 0 0.75em #000000;
  320. cursor: pointer;
  321. }
  322. /* Style for textboxes */
  323. input[type=text]{
  324. font-weight: bold;
  325. color: #224422;
  326. background-color: #bbccbb;
  327. border: 0.286em solid #ddeedd;
  328. border-color: #dddddd;
  329. border-radius: 0.429em;
  330. padding: 0.25em;
  331. text-shadow: 0 0 0.5em #ffffff;
  332. }
  333. input[type=checkbox]{
  334. width: 1em;
  335. height: 1em;
  336. border-radius: 0.2em;
  337. border: 0.063em solid #005500;
  338. }
  339. /* Style for textareas */
  340. textarea{
  341. width: 80%;
  342. font-weight: bold;
  343. color: #444444;
  344. background-color: #bbbbbb;
  345. border: 0.286em solid #dddddd;
  346. border-color: #dddddd;
  347. border-radius: 0.286em;
  348. padding: 0.25em;
  349. text-shadow: 0 0 0.5em #ffffff;
  350. resize: none;
  351. }
  352. /* Style for selects */
  353. select{
  354. font-weight: bold;
  355. color: #444444;
  356. background-color: #bbbbbb;
  357. border: 0.286em solid #dddddd;
  358. border-radius: 0.286em;
  359. padding: 0.25em;
  360. text-shadow: 0 0 0.5em #ffffff;
  361. }
  362. /* Style for placeholders in input fields */
  363. ::-webkit-input-placeholder { /* WebKit browsers */
  364. color: #777777;
  365. }
  366. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  367. color: #777777;
  368. }
  369. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  370. color: #777777;
  371. }
  372. :-ms-input-placeholder { /* Internet Explorer 10+ */
  373. color: #777777;
  374. }
  375. /* Style-only class user to indicate that a field is incorrect. Ususally this class is added to an element with js */
  376. .error{
  377. border-color: #ffaaaa;
  378. }
  379. /* Style for the textbox input when the entered text is not the expected one */
  380. input[type=text].error{
  381. border-color: #ffaaaa;
  382. }
  383. /* Style for the textared input when the entered text is not the expected one */
  384. textarea.error{
  385. border-color: #ffaaaa;
  386. }
  387. /* Style for buttons that act as links */
  388. a.a_button{
  389. display: inline-block;
  390. color: #cccccc;
  391. background-color: #555555;
  392. border: 0.143em solid #bbbbbb;
  393. border-radius: 0.429em;
  394. padding: 0.5em;
  395. text-shadow: 0 0 0.75em #000000;
  396. text-decoration: none;
  397. font: -webkit-small-control;
  398. font-family: 'Nunito';
  399. font-weight: bold;
  400. }
  401. /**********************************
  402. * Styles for comment-related *
  403. * elements *
  404. **********************************/
  405. /* Contains fields to identify the user before the comment can be posted. Hidden by css, must be displayed with js */
  406. div#identification_form{
  407. display: none;
  408. }
  409. /* Contain a comment, with the details and the text */
  410. div.comment{
  411. background-color: #efffef;
  412. border: 0.1em solid #aaffaa;
  413. border-radius: 0.3em;
  414. padding: 0.5em;
  415. margin: 0.5em;
  416. }
  417. /* User who posted the coment */
  418. div.comment h4.comment_user{
  419. margin-top: 0.417em;
  420. margin-bottom: 0;
  421. }
  422. div.comment h4.comment_user span.comment_user_registered{
  423. font-weight: bold;
  424. font-size: 110%;
  425. color: #005500;
  426. }
  427. /* Style for the comment's images */
  428. img.comment_image{
  429. border: 0.077em solid black;
  430. max-height: 6em;
  431. max-width: 60%;
  432. display: block;
  433. vertical-align: top;
  434. border: 0.133em solid black;
  435. margin-left: 0.938em;
  436. margin-bottom: 0.938em;
  437. box-shadow: 0 0 1em #444444;
  438. }
  439. /* Paragraph with the comment text */
  440. p.comment_text{
  441. vertical-align: top;
  442. width: auto;
  443. display: block;
  444. margin-top: 0.938em;
  445. margin-left: 0.938em;
  446. }
  447. span.comment_date{
  448. font-size: 80%;
  449. font-style: italic;
  450. }
  451. /* Input field for the comment text */
  452. textarea#new_comment_text{
  453. width: 98%;
  454. }
  455. /* Input field for the comment user */
  456. input#new_comment_user{
  457. width: 47%;
  458. }
  459. /* Input field for the comment email */
  460. input#new_comment_email{
  461. width: 47%;
  462. }
  463. /* Styles so the input field to upload an image with the comment looks like a button */
  464. label.image_upload {
  465. font-weight: bold;
  466. color: #cccccc;
  467. background-color: #555555;
  468. border: 0.067em solid #bbbbbb;
  469. border-radius: 0.2em;
  470. padding: 0.5em;
  471. text-shadow: 0 0 0.750em #000000;
  472. font-size: 0.813em; /*Same as buttons*/
  473. font-family: 'Nunito';
  474. }
  475. label.image_upload input {
  476. width: 0 !important;
  477. opacity: 0 !important;
  478. overflow: hidden !important;
  479. }
  480. /* Previsualization for the upload image in a comment */
  481. img#new_comment_image_preview{
  482. max-height: 7.692em;
  483. max-width: 11.538em;
  484. }
  485. /**********************************
  486. * Styles for the social buttons. *
  487. **********************************/
  488. a.share img.share{
  489. display: inline-block;
  490. vertical-align: top;
  491. overflow: hidden;
  492. width: 1.6em;
  493. height: 1.6em;
  494. border: 0.1em solid #003300;
  495. border-radius: 2em;
  496. box-shadow: 0 0 0.3em #005500;
  497. margin: 0.2em;
  498. transition: all .3s ease-in-out;
  499. }
  500. a.share img.share:hover{
  501. box-shadow: 0 0 0.7em #005500;
  502. border-radius: 0.7em;
  503. }