RP_Rave1_theme/assets/css/custom.css

868 lines
15 KiB
CSS
Raw Normal View History

2024-11-06 10:10:48 +00:00
/* Általános */
@import "nav.css";
@import "post.css";
/* @font-face {
font-family: "Open Sans";
src:
url('fonts/opensans.woff2') format('woff');
font-weight: normal;
font-style: normal;
} */
@font-face {
font-family: "Ubuntu";
src: url("fonts/ubuntu.woff2") format("woff");
font-weight: normal;
font-style: normal;
}
html,
body {
margin: 0;
padding: 0;
font-family: "Ubuntu", sans-serif;
}
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
margin: 0;
padding: 0;
border: 0;
font-weight: normal;
font-style: normal;
font-size: 100%;
line-height: 1;
font-family: inherit;
text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
margin-bottom: 0.5rem;
font-family: "Ubuntu";
font-weight: 700;
line-height: 1.2;
color: #cacaca;
text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}
table {
border-collapse: collapse;
border-spacing: 0;
}
ol,
ul {
list-style: none;
}
blockquote:before,
blockquote:after {
content: "";
}
input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="button"],
input[type="tel"],
input[type="submit"],
textarea {
-moz-appearance: none;
-webkit-appearance: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
display: none;
}
.blog-title a,
.post-title a,
.post-overlay,
.post-likes,
.post-meta a,
.pagination,
.main-menu a,
.main-menu > .has-children > a::after,
.main-menu > .page_item_has_children > a::after,
.searchbutton,
.search-toggle,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.form-submit #submit,
.widget_search .searchsubmit,
.widget_search .search-field,
.format-gallery .flex-direction-nav a,
.nav-toggle .bar,
.dribbble-shot,
.flickr_badge_image a,
.post-content input[type="submit"],
.post-content input[type="reset"],
.post-content input[type="button"] {
transition: all 0.2s ease-in-out;
}
.tothetop,
.header,
.portfolio-item a .portfolio-header-container,
.featured-media a img {
transition: all 0.3s ease-in-out;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
img {
max-width: 100%;
height: auto;
}
.hidden {
display: none;
}
.clear {
clear: both;
}
.fleft {
float: left;
}
.fright {
float: right;
}
::selection {
background: #444;
color: #fff;
}
::-webkit-input-placeholder {
color: #999;
}
:-ms-input-placeholder {
color: #999;
}
body {
font-family: "Ubuntu", sans-serif;
font-size: 1.15rem;
color: #b5b5b5;
}
.site-wrapper {
background-image: url("../../assets/img/black-paper.webp");
}
@media (min-width: 1200px) {
.container {
max-width: 1200px;
}
}
/* Paragrafus térköz */
p {
margin-top: 1rem;
margin-bottom: 1rem;
}
/* Link színének módosítása */
a {
color: #fff;
text-shadow: 1px 1px 3px #000;
}
a:hover {
color: #6441a5;
text-decoration: none;
}
/* Social ikonok középre helyezése */
.header__nav--secondary {
height: 40px;
}
/* Social ikonok láthatóságának tiltása 991px szélesség alatt */
@media (max-width: 1250px) {
.header__nav--secondary {
display: none;
}
}
/* Logó balról való betolása */
.header__logo--img {
display: block;
border-radius: inherit;
object-position: center center;
object-fit: contain;
image-rendering: auto;
padding-left: 2rem;
}
element.style {
display: block;
width: 100%;
height: 100%;
border-radius: inherit;
object-position: center center;
object-fit: contain;
image-rendering: auto;
}
/* Borítókép javítás */
.post__thumb {
margin-bottom: 0;
}
/* Header */
.area::before {
content: "";
background-image: url(../../assets/img/black-paper.webp);
opacity: 0.6;
}
.area {
background-image: radial-gradient(
circle at 99% 33%,
hsla(235, 0%, 48%, 0.03) 0%,
hsla(235, 0%, 48%, 0.03) 37%,
transparent 37%,
transparent 100%
),
radial-gradient(
circle at 46% 16%,
hsla(235, 0%, 48%, 0.03) 0%,
hsla(235, 0%, 48%, 0.03) 43%,
transparent 43%,
transparent 100%
),
radial-gradient(
circle at 99% 25%,
hsla(235, 0%, 48%, 0.03) 0%,
hsla(235, 0%, 48%, 0.03) 22%,
transparent 22%,
transparent 100%
),
radial-gradient(
circle at 57% 88%,
hsla(235, 0%, 48%, 0.03) 0%,
hsla(235, 0%, 48%, 0.03) 86%,
transparent 86%,
transparent 100%
),
radial-gradient(
circle at 82% 78%,
hsla(235, 0%, 48%, 0.03) 0%,
hsla(235, 0%, 48%, 0.03) 22%,
transparent 22%,
transparent 100%
),
linear-gradient(90deg, rgb(36, 55, 70), rgb(36, 55, 70));
width: 100%;
height: 100%;
position: relative;
z-index: 2;
}
/* Legfrissebb bejegyzések */
.wp-block-latest-posts.wp-block-latest-posts__list {
padding-left: 30px !important;
}
/* Mobil nézetben szélesség kitolása kijelző széléig */
@media only screen and (max-width: 991px) and (min-width: 576px) {
.container {
max-width: 100%;
}
}
/* Oszlop margójának módosítása 767px alatt */
@media (max-width: 767px) {
.col {
margin: 0 20px 0 20px;
}
}
/* Borítókép margó nullázása 992px alatt */
@media (min-width: 992px) {
.post__thumb {
margin-right: 0;
}
}
/* Bejegyzés margójának módósítása 992px alatt */
@media (min-width: 992px) {
.post__body {
margin-left: 33px;
/*margin-right: 33px;*/
}
}
/* Mobil nézetben doboz tartalmának betolása doboz szélétől */
@media (max-width: 767px) {
.post__body {
padding: 30px 20px 30px 20px;
}
}
/* Beágyazáshoz javítás, lásd GyIK oldal */
.wp-block-embed iframe {
height: 520px;
width: 490px;
position: relative;
}
.wp-embed {
width: 435px;
box-shadow: 3px 2px 2px rgb(0 0 0);
background-color: #191919;
}
/* Beágyazás lábléc toltása */
.wp-embed-footer {
display: none;
}
/* Beágyazás link színe */
.wp-embed-heading a {
color: #dc3545;
}
/* Mobilnézet menu top eltolása */
@media only screen and (max-width: 991.98px) and (min-width: 768px) {
.menu-menu-1-container {
top: 80px;
}
}
@media screen and (max-width: 767px) {
.menu-menu-1-container {
top: 50px;
}
}
@media (max-width: 991.98px) {
.main-nav {
padding-top: 30px !important;
}
}
/* #wpadminbar {
display: none;
} */
/* Adminbar */
/*@media screen and (max-width: 600px) {*/
/* #wpadminbar {*/
/* height: 46px;*/
/* min-width: 240px;*/
/* top: -48px;*/
/* }*/
/*}
/* Ikonbox */
@media (min-width: 992px) {
.icobox__icon {
line-height: 105px;
}
}
/* Alert */
.alert {
text-shadow: 1px 1px 2px #3a3a3a;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.5);
}
/* Szekció modify */
.section-heading__title {
display: none !important;
}
.section-heading--divider-top {
display: none;
}
.page-heading {
background: rgba(21, 53, 79, 0.85) !important;
background-image: none;
}
.page-heading::before {
background-color: rgba(0, 0, 0, 0.65) !important;
}
/* HR */
.hr--xl {
display: none;
}
hr {
margin-top: 1rem;
margin-bottom: 1rem;
border: 0;
border-top: 2px solid #6442a5;
}
/* Breadcrumb módosítások */
.breadcrumb {
/* text-transform: lowercase; */
padding: 8px 0;
margin-bottom: 20px;
list-style: none;
}
.breadcrumb-item {
display: inline-flex;
}
.breadcrumb a {
color: #428bca;
text-decoration: none;
}
/* .breadcrumb_content::before {
padding-right: 0.5rem;
padding-left: 0.5rem;
color: rgba(255, 255, 255, 0.2);
content: "—";
} */
.breadcrumb span + span::before {
content: " - ";
margin: 0 5px;
}
.post__meta-item--category::before {
content: "\f318";
}
/* Page, post címek szövegstílus módosítása */
.page-heading__title {
text-transform: uppercase;
}
/* .page-heading__title::first-letter {
color: white;
background-color: #6442a5;
font-size: 250%;
padding-top: 35px;
padding-left: 10px;
padding-right: 15px;
stroke: #6442a5;
}
*/
/* Other */
.tcenter {
justify-content: center;
justify-items: center;
display: grid;
}
.wp-like-post__wrapper {
justify-content: center;
}
.wp-block-embed iframe {
height: 570px;
width: 490px;
position: relative;
}
/* Footer */
.footer-copyright {
background-color: rgb(85 85 85 / 10%);
background-image: url("../../assets/img/black-paper.webp");
}
.footer-widgets {
background-color: rgba(21, 53, 79, 0.85);
background-image: url("../../assets/img/black-paper.webp");
}
.post__footer {
margin-top: 50px;
}
.widget--footer {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.widget--footer .widget__header {
margin-left: 30px;
margin-right: 30px;
margin-bottom: 60px;
}
/*.Social icons */
.social-links__link {
line-height: 36px !important;
}
.social-links__item {
float: left;
}
.wp-block-social-link {
border-radius: 0 !important;
}
.wp-social-link-kick {
background-color: #00e701 !important;
color: #000 !important;
}
.wp-social-link-discord {
background-color: #5865f2 !important;
color: #fff !important;
}
.wp-social-link-wallet {
background-color: #99aab5 !important;
color: #000 !important;
}
.wp-block-social-link-label {
text-shadow: none !important;
}
/* Box */
.box {
border-width: 2px;
border-style: solid;
border-color: #6441a5;
background-image: url("../../assets/img/black-paper.webp");
background-color: rgba(21, 53, 79, 0.85);
padding: 25px;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.5);
}
@media (max-width: 1200px) {
.box {
border-width: 2px;
border-style: solid;
border-color: #6441a5;
background-image: url("../../assets/img/black-paper.webp");
background-color: rgba(21, 53, 79, 0.85);
padding: 25px;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.5);
}
}
.box-trans {
background-image: url("../../assets/img/black-paper.webp");
background-color: rgba(0, 0, 0, 0.25);
padding: 25px;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.5);
margin-top: 50px;
margin-bottom: 50px;
}
.box-grey {
background-image: url("../../assets/img/black-paper.webp");
background-color: rgba(181, 181, 181, 0.5);
padding: 25px;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.5);
}
.box-red {
background-image: url("../../assets/img/black-paper.webp");
background-color: rgba(79, 21, 21, 0.85);
padding: 25px;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.5);
}
.box-outline {
padding: 25px;
}
@media (min-width: 768px) {
.box-outline {
padding: 25px;
}
}
.post__body {
background-color: rgba(21, 53, 79, 0.85);
background-image: url("../../assets/img/black-paper.webp");
}
/* Add hozzá további css osztályként! */
.home__meta {
font-family: "Montserrat", sans-serif;
box-shadow: inset -1px -1px 0px 2px #0000004a;
padding: 10px;
margin-bottom: 35px;
font-size: 0.6875rem;
text-transform: uppercase;
font-weight: bold;
}
.post__meta {
box-shadow: inset -1px -1px 0px 2px #0000004a;
padding-left: 15px;
padding-bottom: 5px;
}
.post__title + .post__meta {
margin-top: 0.5rem;
}
.post__meta-item > a {
color: #abb8c3;
}
.post__meta-item > a:hover {
color: #6441a5;
}
.tagcloud {
padding-top: 25px;
}
.btn {
border-radius: 0 !important;
box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.5);
}
.btn-outline-secondary {
border-color: #342157;
background-color: #6441a5;
}
.btn-outline-secondary:hover {
border-color: #342157;
background-color: #342157;
}
@media (max-width: 992px) {
.header__logo--img {
height: 50%;
width: 25%;
}
.header__logo {
height: 50%;
width: 25%;
}
}
p::-moz-selection {
/* Code for Firefox */
color: #fff;
background: #6441a5;
}
p::selection {
color: #fff;
background: #6441a5;
}
.wp-block-code code {
color: #e83e8c !important;
}
/* Safariban logo ideiglenes javítás */
/* .header__logo--img img {
max-width: 150px !important;
} */
/* Bejegyzés szerzője */
.post_author {
margin-bottom: 0 !important;
margin-left: 20px !important;
margin-right: 20px !important;
}
.grow {
display: flex !important;
}
.gcolumnleft {
width: max-content !important;
margin: 20px 0 0 0 !important;
}
.gcolumnright {
width: 100% !important;
margin: 0 0 0 40px !important;
}
@media screen and (max-width: 600px) {
.grow {
display: block !important;
}
.gcolumnleft {
width: 100% !important;
margin: 0 auto !important;
}
.gcolumnright {
width: 100% !important;
margin: 0 auto !important;
}
}
img.avatar.avatar-64.photo {
display: block;
margin: 0 auto;
}
/* Breadcrumb menü */
.ulbr {
width: 100%;
display: flex;
list-style: none;
}
.post__meta_single {
box-shadow: none;
}
@media (min-width: 992px) {
.page-heading__inner {
padding: 134px 0 80px 0 !important;
}
}
@media (max-width: 768px) {
.page-heading__inner {
padding: 60px 0 !important;
}
.box-author {
display: flex !important;
flex-wrap: wrap !important;
}
.author {
width: 100% !important;
}
.post-meta {
width: 100% !important;
margin-left: 70px;
}
}
/* Keresés */
/* Search Overlay Container */
#search-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.85);
z-index: 9999;
}
/* Centered Search Form */
#search-overlay .search-container {
position: absolute;
top: 20%;
left: 50%;
transform: translateX(-50%);
width: 80%;
max-width: 600px;
border: 1px solid;
background-color: #000;
}
/* Form Control Styling */
#search-form .form-control {
border-radius: 0;
box-shadow: none;
font-size: 18px;
}
/* Input Group Text Styling */
#search-overlay .input-group-text {
background: none;
border: none;
padding: 0.75rem;
}
.searchbox-input {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
width: 100%;
border: 2px solid white;
}
/* Figure */
.hover-caption {
overflow: hidden;
display: flex;
flex-direction: column;
}
.hover-caption img {
width: 100%;
height: 100%;
}
.hover-caption:hover img {
translate: 0 -0;
filter: drop-shadow(0 0 0.15rem black);
}
.hover-caption figcaption {
text-align: center;
color: black;
translate: 0 100%;
}
.hover-caption:hover figcaption {
translate: 0 0;
}
.hover-caption img,
.hover-caption figcaption {
transition: translate 200ms;
}