ui.css 13 KB

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