ui.css 13 KB

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