/********************************** * Fonts used across the page * **********************************/ /* Font */ @font-face { font-family: 'Nunito'; src: url('/fonts/Nunito-Regular.ttf'); } /********************************** * Elements that are solely for * * the desktop or mobile * * version. * **********************************/ .desktop{ display: initial; } .mobile{ display: none; } /********************************** * Styles to be applied across * * all the site for all the * * elements of it's type * **********************************/ /* Styles for the body of the page */ body{ background-color: #111111; } /* Style for all links */ a{ color: #555555; text-shadow: 0 0 0.5em #7777ff; text-decoration: none; } .fake_a{ color: #555555; text-shadow: 0 0 0.5em #7777ff; text-decoration: none; } /* Elements fith bold font */ .bold{ font-weight: bold; } .pointer { cursor: pointer; } /* Hidden elements */ .hidden{ display: none; } img.slider{ width: 1em; height: 1em; vertial-align: middle; transition: all .3s ease-in-out; } div#cover{ display: none; background-color: #000000bb; opacity: 0; transition: opacity .3s ease-in-out; position: fixed; top: 0; left: 0; right: 0; bottom: 0; } /********************************** * Toolbar style * **********************************/ /* Container for the header */ div#header_parent{ width: 100%; text-align: center; } /* The actual header */ nav#header{ text-align: center; height: 3.4em; display: inline; z-index: 300; margin-left: auto; margin-right: auto; font-weight: bold; font-size: 110%; } /* Dummy span to use as vertical separator between links */ nav#header span.link_separator{ border-left: 0.077em solid rgba(200, 200, 200, .5); } /* All the links in the bar. Contains the text and the icon */ nav#header a{ margin: auto; text-decoration: none; color: #cccccc; text-shadow: 0 0 0.5em #000000; } /* Contains everithing inside each link (direct and only child of a.header_link) */ nav#header span.header_container { margin: auto; text-align: center; min-width: 3.125em; margin-right: 0.43em; margin-left: 0.43em; padding-left: 0.625em; padding-top: 0.375em; padding-bottom: 0.375em; padding-right: 2.19em; display: inline-block; position: relative; transition: all .3s ease-in-out; box-shadow: 0 0 0.063em #ffffff00; border: 0.06em solid #ffffff00; border-radius: 0.5em; } nav#header span.header_container:hover { border: 0.06em solid #ffffff88; background-color: #ffffff33; } /* Contains the icon for each entry */ nav#header span.header_icon_container{ border-bottom: 0.063em solid #999999; padding-bottom: 0.313em; } /* Icon for each entry of the header */ nav#header img.header_icon{ opacity: 0.3; width: 1.563em; height: 1.563em; vertical-align: middle; transition: opacity 0.4s ease-in-out; } nav#header span.header_container:hover img.header_icon{ opacity: 1; } /* A line separating the header from the rest of the page */ hr#header_separator{ width: 70%; } /********************************** * Footer style * **********************************/ /* The actual footer */ div#footer{ display: inline-block; font-size: 80%; text-align: center; height: 3.438em; margin-left: auto; margin-right: auto; margin-top: 3.125em; margin-bottom: 3.125em; color: #dddddd; } /* A table containing all the elements in the footer */ div#footer table#footer_table{ margin-left: auto; margin-right: auto; width: 80%; table-layout: fixed; } /* An horizontal line separating the page contents from the footer */ div#footer hr#footer_separator{ /* margin-top: 3.125em; */ border: 0; background-color: #444444; height: 0.1em; width: 70%; } /* Left area of the footer */ div#footer td#footer_left{ width: 33%; text-align: center; } /* Middle area of the footer */ div#footer td#footer_center{ width: 33%; text-align: center; } /* Right area of the footer */ div#footer td#footer_right{ width: 33%; text-align: center; } /* Icons for social media */ div#footer img.footer_social_icon{ width: 1.875em; vertical-align: middle; background-color: #ffffff; border: 0.1em solid #ffffff; border-radius: 0.3em; } div#footer a.lang img{ height: 1em; margin: 0.5em; border-radius: 0.2em; border: 0.15em solid #555555; cursor: pointer; box-shadow: 0 0 0.7em #dde; transition: all .3s ease-in-out; } div#footer a.lang img:hover{ box-shadow: 0 0 1em #111; } /********************************** * Styles for the elements that * * compose the basic strucure of * * the site. * **********************************/ /* The content is everything between the header and the footer */ div#content{ position: relative; width: 100%; height: 100%; margin-bottom: 1.875em; } div.section{ margin: 0.5em; padding: 0; background-color: #ffffff; border: 0.063em solid #005500; border-radius: 1em 1em; box-shadow: 0 0 0.75em #003300; overflow: hidden; } div.section h3.section_title{ font-weight: bold; color: #ccddff; text_align: left; padding: 0.2em 0.4em 0.2em 0.4em; margin: 0; text-shadow: 0 0 0.4em #000022; font-size: 150%; background: linear-gradient(to bottom, #1e9957 0%,#29d889 89%,#20ca7c 97%,#7de8b9 100%); } /* .entry is a style only class to show content. Must be allways children os a .lighted element */ div.section div.entry{ border: 0.1em solid #aaffaa00; border-radius: 0.3em; padding: 0.5em; margin: 0.5em; transition: all .4s ease-in-out; } div.section div.entry_list:hover{ background-color: #efffef; border: 0.1em solid #aaffaaff; } /* Style for the mathces in search results */ span.result_counter{ margin-left: 1.2em; margin-bottom: 0.5em; font-weight: bold; font-style: italic; } /* Shown when no records on database */ div.unavailable{ margin-left: 4em; font-style: italic; } /********************************** * Styles to be applied to some * * horizontally scrollable * * elements * **********************************/ /* Horizontall scrollbar that apears when a project has lots of renders */ .slider::-webkit-scrollbar{ width: 0.5em; height: 0.25em; background-color: #444444; } .slider::-webkit-scrollbar-thumb{ background-color: #cccccc; border-radius: 0.714em; } .slider::-webkit-scrollbar-thumb:hover{ background-color: #cccccc; border: 0.143em solid #000000; } .slider::-webkit-scrollbar-thumb:active{ background-color: #cccccc; border: 0.143em solid #000000; } /* Icons for sharing page in a social network */ img.social_icon{ width: 3em; height: 3em; } /* Elements that should have the cursor as pointer */ .pointer{ cursor: pointer; } /********************************** * Styles for diverse input * * elements. Type-assigned * **********************************/ /* Font for all the input elements */ input{ font-family: 'Nunito'; } /* Style for the "submit" type elements in forms */ input[type=submit]{ font-weight: bold; color: #cccccc; background-color: #555555; border: 0.143em solid #bbbbbb; border-radius: 0.429em; padding: 0.5em; text-shadow: 0 0 0.75em #000000; cursor: pointer; } /* Style forr buttons */ input[type=button]{ font-weight: bold; color: #cccccc; background-color: #555555; border: 0.143em solid #bbbbbb; border-radius: 0.429em; padding: 0.5em; text-shadow: 0 0 0.75em #000000; cursor: pointer; } /* Style for textboxes */ input[type=text]{ font-weight: bold; color: #224422; background-color: #bbccbb; border: 0.286em solid #ddeedd; border-color: #dddddd; border-radius: 0.429em; padding: 0.25em; text-shadow: 0 0 0.5em #ffffff; } input[type=checkbox]{ width: 1em; height: 1em; border-radius: 0.2em; border: 0.063em solid #005500; } /* Style for textareas */ textarea{ width: 80%; font-weight: bold; color: #444444; background-color: #bbbbbb; border: 0.286em solid #dddddd; border-color: #dddddd; border-radius: 0.286em; padding: 0.25em; text-shadow: 0 0 0.5em #ffffff; resize: none; } /* Style for selects */ select{ font-weight: bold; color: #444444; background-color: #bbbbbb; border: 0.286em solid #dddddd; border-radius: 0.286em; padding: 0.25em; text-shadow: 0 0 0.5em #ffffff; } /* Style for placeholders in input fields */ ::-webkit-input-placeholder { /* WebKit browsers */ color: #777777; } :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #777777; } ::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #777777; } :-ms-input-placeholder { /* Internet Explorer 10+ */ color: #777777; } /* Style-only class user to indicate that a field is incorrect. Ususally this class is added to an element with js */ .error{ border-color: #ffaaaa; } /* Style for the textbox input when the entered text is not the expected one */ input[type=text].error{ border-color: #ffaaaa; } /* Style for the textared input when the entered text is not the expected one */ textarea.error{ border-color: #ffaaaa; } /* Style for buttons that act as links */ a.a_button{ display: inline-block; color: #cccccc; background-color: #555555; border: 0.143em solid #bbbbbb; border-radius: 0.429em; padding: 0.5em; text-shadow: 0 0 0.75em #000000; text-decoration: none; font: -webkit-small-control; font-family: 'Nunito'; font-weight: bold; } /********************************** * Styles for comment-related * * elements * **********************************/ /* Contains fields to identify the user before the comment can be posted. Hidden by css, must be displayed with js */ div#identification_form{ display: none; } /* Contain a comment, with the details and the text */ div.comment{ background-color: #efffef; border: 0.1em solid #aaffaa; border-radius: 0.3em; padding: 0.5em; margin: 0.5em; } /* User who posted the coment */ div.comment h4.comment_user{ margin-top: 0.417em; margin-bottom: 0; } div.comment h4.comment_user span.comment_user_registered{ font-weight: bold; font-size: 110%; color: #005500; } /* Style for the comment's images */ img.comment_image{ border: 0.077em solid black; max-height: 6em; max-width: 60%; display: block; vertical-align: top; border: 0.133em solid black; margin-left: 0.938em; margin-bottom: 0.938em; box-shadow: 0 0 1em #444444; } /* Paragraph with the comment text */ p.comment_text{ vertical-align: top; width: auto; display: block; margin-top: 0.938em; margin-left: 0.938em; } span.comment_date{ font-size: 80%; font-style: italic; } /* Input field for the comment text */ textarea#new_comment_text{ width: 98%; } /* Input field for the comment user */ input#new_comment_user{ width: 47%; } /* Input field for the comment email */ input#new_comment_email{ width: 47%; } /* Styles so the input field to upload an image with the comment looks like a button */ label.image_upload { font-weight: bold; color: #cccccc; background-color: #555555; border: 0.067em solid #bbbbbb; border-radius: 0.2em; padding: 0.5em; text-shadow: 0 0 0.750em #000000; font-size: 0.813em; /*Same as buttons*/ font-family: 'Nunito'; } label.image_upload input { width: 0 !important; opacity: 0 !important; overflow: hidden !important; } /* Previsualization for the upload image in a comment */ img#new_comment_image_preview{ max-height: 7.692em; max-width: 11.538em; } /********************************** * Styles for the social buttons. * **********************************/ a.share img.share{ display: inline-block; vertical-align: top; overflow: hidden; width: 1.6em; height: 1.6em; border: 0.1em solid #003300; border-radius: 2em; box-shadow: 0 0 0.3em #005500; margin: 0.2em; transition: all .3s ease-in-out; } a.share img.share:hover{ box-shadow: 0 0 0.7em #005500; border-radius: 0.7em; }