ui.css 13 KB

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