ui.css 13 KB

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