ui.css 13 KB

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