芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/css/styles.css
/* Resetting default margin and padding */ *, *::after, *::before { box-sizing: border-box; } :root { font-size: 15px; } body { margin: 0; --color-text: #fff; --color-bg: #111; --color-link: #fff; --color-link-hover: #fff; --font-main: 'Boiling', serif; color: var(--color-text); background-color: var(--color-bg); font-family: 'Boiling', serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow: hidden; background-image: linear-gradient(rgba(120,120,120,0.2),rgba(120,120,120,0.2)), url(../img/bg.jpg); background-size: cover; } @font-face { font-family: 'Boiling'; src: url('../fonts/sugarmagic.otf') format('truetype'); font-weight: normal; font-style: normal; } .social-icons i { font-size: 3rem; /* Adjust this value as needed */ margin: 0 1rem; /* Optional: adds space between icons */ color: #fff; /* Ensures the icons are white */ } .social-icons a:hover i { color: #b9691e; /* Change hover color to orange */ } @import url('https://fonts.googleapis.com/css?family=Lato:300,400'); .content h1 { font-family: 'Boiling', 'Playfair Display', serif; font-size: 22rem; color: #fff; margin: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.1); } /* Additional styles... */ .video-background { position: relative; height: 100vh; overflow: hidden; } #myVideo { width: 100%; height: 100vh; object-fit: cover; position: absolute; top: 0; left: 0; z-index: -1; } .video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: rgba(0, 0, 0, 0.4); padding-top: 5rem; /* Add padding to make space for the nav bar */ } header { position: absolute; top: 0; width: 100%; z-index: 1; } header nav ul { list-style-type: none; margin: 0; padding: 1rem; display: flex; justify-content: center; gap: 1rem; background: rgba(0, 0, 0, 0.6); } header nav ul li { display: inline; } header nav ul li a { color: var(--color-link); text-decoration: none; font-size: 1.25rem; opacity: 0.7; transition: opacity 0.3s; } header nav ul li a:hover { opacity: 1; } .content h1 { font-size: 6rem; font-family: var(--font-main); color: #fff; margin: 0; text-shadow: 0 1px 6px rgba(0,0,0,0.1); } .content p { font-size: 1.5rem; color: #fff; margin: 1rem 0; } .cta-button { background: #fff; color: #111; padding: 0.75rem 2rem; text-transform: uppercase; font-weight: bold; text-decoration: none; border-radius: 5px; transition: background 0.3s, color 0.3s; } .cta-button:hover { background: #111; color: #fff; } /* Overlay style */ .overlay { position: fixed; width: 100%; height: 100%; top: 0; left: 0; background: rgba(187, 128, 18, 0.9); } /* Overlay closing cross */ .overlay .overlay-close { width: 80px; height: 80px; position: absolute; right: 20px; top: 20px; overflow: hidden; border: none; background: url(../img/cross.png) no-repeat center center; text-indent: 200%; color: transparent; outline: none; z-index: 100; } /* Menu style */ .overlay nav { text-align: center; position: relative; top: 50%; height: 60%; font-size: 54px; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .overlay ul { list-style: none; padding: 0; margin: 0 auto; display: inline-block; height: 100%; position: relative; } .overlay ul li { display: block; height: 20%; height: calc(100% / 5); min-height: 54px; } .overlay ul li a { font-weight: 300; display: block; color: #fff; -webkit-transition: color 0.2s; transition: color 0.2s; } .overlay ul li a:hover, .overlay ul li a:focus { color: #ef281d; } /* Effects */ .overlay-hugeinc { opacity: 0; visibility: hidden; -webkit-transition: opacity 0.5s, visibility 0s 0.5s; transition: opacity 0.5s, visibility 0s 0.5s; } .overlay-hugeinc.open { opacity: 1; visibility: visible; -webkit-transition: opacity 0.5s; transition: opacity 0.5s; } .overlay-hugeinc nav { -webkit-perspective: 1200px; perspective: 1200px; } .overlay-hugeinc nav ul { opacity: 0.4; -webkit-transform: translateY(-25%) rotateX(35deg); transform: translateY(-25%) rotateX(35deg); -webkit-transition: -webkit-transform 0.5s, opacity 0.5s; transition: transform 0.5s, opacity 0.5s; } .overlay-hugeinc.open nav ul { opacity: 1; -webkit-transform: rotateX(0deg); transform: rotateX(0deg); } .overlay-hugeinc.close nav ul { -webkit-transform: translateY(25%) rotateX(-35deg); transform: translateY(25%) rotateX(-35deg); } @media screen and (max-height: 30.5em) { .overlay nav { height: 70%; font-size: 34px; } .overlay ul li { min-height: 34px; } } footer { position: absolute; bottom: 1rem; width: 100%; text-align: center; } footer p { color: #fff; margin: 0; }