Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                {% load static %}
<!DOCTYPE html>
<html lang="en">

<head>

	<meta charset="UTF-8">
	<title>Kek</title>
	<link rel="stylesheet" href="{% static 'files/style.css' %}">
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.0.8/fullpage.min.css">

	<style>
		.contacts-panel {
			background: url("{% static 'img/contant-panel.png' %}");
			background-size: 100%;
			background-repeat: no-repeat;
		}

		.contacts-panel:hover {
			background: url("{% static 'img/contact-panel-hover.png' %}");
			background-size: 100%;
			cursor: pointer;
		}

		.about-cap {
			background: url("{% static 'img/about-cap.jpg' %}");
			background-size: 100%;
		}
	</style>

</head>

<body>

	<div id="fullPage">
		



		<header class="section">
			
			<div class="basic">

				<div class="basic-planets">
					
				</div>

				<div class="basic-nav">
					
					<div class="basic-nav-panel">




						<div class="basic-nav-panel-top">

						</div>





						<div class="basic-nav-panel-middle">

							<div class="basic-nav-panel-middle-about-cap">
								
								<a href="#test">О КАПИТАНЕ</a>

							</div>

							<div class="basic-nav-panel-middle-cosmofolio">

								<a href="#">КОСМО ФОЛИО</a>

							</div>

							<div class="basic-nav-panel-middle-why-me">

								<a href="#">ПОЧЕМУ Я?</a>

							</div>		


						</div>





						<div class="basic-nav-panel-bottom">
							
							<div class="basic-nav-panel-bottom-random">
								
								<img src="{% static 'img/basic-nav-panel-bottom-random.png' %}" alt="#">

								

							</div>

							<img class='basic-nav-panel-bottom-arrow' src="{% static 'img/arrow.png' %}" alt="#">

							<p>Случайный<br>раздел</p>

						</div>

					</div>

				</div>
				
			</div>





			<div class="contacts">

				<div class="contacts-panel">

					<a>КОНТАКТЫ</a>

				</div>

			</div>

		</header>





































		<div class="section about-cap">
			<a href="#" name='test'></a>

		</div>




































		<div class="section cosmofolio">
			<h1>Это тест!</h1>
		</div>




		<div class="section why-me">
			<h1>Это тест!</h1>
		</div>
	



	</div>

	<script src='https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.0.8/fullpage.min.js'></script>
	<script>
			
		new fullpage('#fullPage', {
			autoScrolling: true
		})

	</script>

</body>

</html>
              
            
!

CSS

              
                body {
	scroll-behavior: smooth;
}

.section {
	
}







header {
	background: #16252c;
}

.basic {
	display: flex;
	width: 100vw;
	height: 97.5vh;
}

.basic-planets {
	border: 1px solid purple;
	width: 50vw;
	height: 100%;
}

.basic-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 50vw;
	height: 100%;
}

.basic-nav-panel {
	display: flex;
	flex-direction: column;
	border: 15px solid #5c3b5a;
	background: #64568c;
	border-radius: 70px;
	height: 80vh;
	width: 35vw;
	opacity: 0.58;
	margin-right: 5vw;

}

.basic-nav-panel-top {
	width: 100%;
	height: 18.75%;	
}

.basic-nav-panel-middle {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	height: 62.5%;
}

.basic-nav-panel-middle-about-cap {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #463c67;
	width: 100%;
	height: 27.2%;
}

.basic-nav-panel-middle-about-cap:hover {
	background: #000010;
	cursor: pointer;
}

.basic-nav-panel-middle-about-cap:hover a {
	color: #E09F3E;
}

.basic-nav-panel-middle-about-cap a {
	text-decoration: none;
	color: #81692d;
	font-family: "Space Age";
	font-size: 50px;
	font-weight: 400;
}


.basic-nav-panel-middle-cosmofolio {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #463c67;
	width: 100%;
	height: 27.2%;
}

.basic-nav-panel-middle-cosmofolio:hover {
	background: #000010;
	cursor: pointer;
}

.basic-nav-panel-middle-cosmofolio:hover a {
	color: #E09F3E;
}

.basic-nav-panel-middle-cosmofolio a {
	text-decoration: none;
	color: #81692d;
	font-family: "Space Age";
	font-size: 50px;
	font-weight: 400;
}

.basic-nav-panel-middle-why-me {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #463c67;
	width: 100%;
	height: 27.2%;
}

.basic-nav-panel-middle-why-me:hover {
	background: #000010;
	cursor: pointer;
}

.basic-nav-panel-middle-why-me:hover a {
	color: #E09F3E;
}

.basic-nav-panel-middle-why-me a {
	text-decoration: none;
	color: #81692d;
	font-family: "Space Age";
	font-size: 50px;
	font-weight: 400;
}








.basic-nav-panel-bottom {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 18.75%;
}

.basic-nav-panel-bottom-random {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 25px;
	width: 31.6%;
	height: 48.7%;
	background: #463c67;
}

.basic-nav-panel-bottom-random img {
	height: 100%;
	opacity: 0.7;
}

.basic-nav-panel-bottom-random:hover {
	background: #000010;
	cursor: pointer;
}

.basic-nav-panel-bottom-random:hover img {
	opacity: 1;
}

.basic-nav-panel-bottom .basic-nav-panel-bottom-arrow {
	position: absolute;
	right: 20%;
}

.basic-nav-panel-bottom p {
	text-align: center;
	position: absolute;
	right: 3%;
	top: 18%;
	color: #e09f3e;
	font-family: "Space Age";
	font-size: 10px;
	font-weight: 400;
}







.contacts {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 2.5vh;
}

.contacts-panel {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30vw;
	height: 100%;
}

.contacts-panel a {
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	opacity: 0.85;
	color: #e5ddaf;
	font-family: "Space Age";
	font-size: 18px;
	font-weight: 400;
}

.contacts-panel:hover a {
	opacity: 1;
}



.about-cap {

}
              
            
!

JS

              
                
              
            
!
999px

Console