-
+
+
+
+
+
+
+ diff --git a/posts.json b/posts.json index 03978ae..b2b9ebd 100644 --- a/posts.json +++ b/posts.json @@ -1,19 +1,19 @@ [ { "slug": "my-first-post", - "title": "My First Post Ever", - "content": "This is the content of my first post. It's an exciting moment to share my thoughts with the world!", + "title": "Just an empty template", + "content": "This pages only purpose is to hold place for a reuseable template!", "date": "2025-01-12", "image_location": "images/posts/post1.jpg", - "topics": ["Introduction", "Technology", "Personal"] + "topics": ["html", "CSS", "Flask"] }, { "slug": "platformer-game-developement-in-godot", "title": "Platformer game in Godot 4", "content": "The content of thi spost is generated, and its only purpose is to test the site.", "date": "2025-01-13", - "image_location": "images/posts/godot_wide_logo.png", - "topics": ["Technology", "Science"] + "image_location": "images/posts/platformer-game-developement-in-godot/godot_wide_logo.png", + "topics": ["Godot", "Game developement"] }, { "slug": "third-post-title", diff --git a/static/css/main.css b/static/css/main.css index d76b634..51aef96 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -91,6 +91,9 @@ body { margin-right: -15px; margin-bottom: 5px; } + .container{ + width: 100%; + } } /* Main Section */ diff --git a/static/css/post.css b/static/css/post.css new file mode 100644 index 0000000..d72c05e --- /dev/null +++ b/static/css/post.css @@ -0,0 +1,130 @@ +.main { + margin: 50px auto; + display: flex; + flex-direction: column; + width: 90%; + max-width: 1200px; + background: rgba(255, 255, 255, 0.1); + border-radius: 16px; + overflow: hidden; + box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); + padding: 20px; +} + +h1, h2, h3 { + color: #ffd700; + text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); + margin-bottom: 20px; +} + +p, li { + font-size: 1rem; + margin-bottom: 1em; +} + +ul { + list-style-type: square; + padding-left: 1.5em; + text-align: left; + margin: auto; + width: fit-content; +} + +a { + color: #00ffcc; + text-decoration: none; + transition: color 0.3s; +} + +a:hover { + color: #ff5733; +} + +img { + width: 30%; + min-height: 30%; + height: auto; + border-radius: 10px; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); + margin-bottom: 20px; + float: right; + margin-left: 20px; +} + +.step { + margin-bottom: 2em; + padding: 20px; + background: rgba(255, 255, 255, 0.1); + border-radius: 10px; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); + display: flex; + align-items: center; + gap: 20px; +} + +.step img { + max-width: 40%; + margin: 0; +} + +.step-content { + flex: 1; +} + +.step pre { + background: rgba(30, 30, 30, 1); + color: #cfcfcf; + font-family: 'Courier New', Courier, monospace; + font-size: 0.9rem; + padding: 15px; + border: 1px solid #444; + border-radius: 10px; + overflow-x: auto; +} + +.button { + display: inline-block; + padding: 10px 20px; + margin-top: 10px; + background: linear-gradient(to right, #5a0fb8, #1f65d6); + color: white; + border-radius: 5px; + font-weight: bold; + text-decoration: none; + text-shadow: none; + transition: background 0.3s; +} + +.button:hover { + background: linear-gradient(to right, #1f65d6, #5a0fb8); + color: white; +} + +pre{ + max-width: 100%; + width: fit-content; + align-content: left; + text-align: left; + margin: auto; + overflow-x: auto; +} + +@media (max-width: 768px) { + img { + float: none; + min-width: 100%; + margin: 0 auto 20px auto; + display: block; + } + + .step { + flex-direction: column; + text-align: center; + } + + pre, code { + margin: 10px auto; + + max-width: 90%; + } +} \ No newline at end of file diff --git a/static/css/quizes.css b/static/css/quizes.css new file mode 100644 index 0000000..f7e999e --- /dev/null +++ b/static/css/quizes.css @@ -0,0 +1,139 @@ +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + background: linear-gradient(to right, #5a0fb8, #1f65d6); + color: #fff; + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; + overflow-x: hidden; + margin: 0; +} + +.container { + background: rgba(255, 255, 255, 0.2); + padding: 20px; + border-radius: 12px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); + max-width: 600px; + width: 90%; + transform: scale(1); + transition: transform 0.3s ease-in-out; +} + +h1 { + text-align: center; + font-size: 2em; + margin-bottom: 20px; +} + +.question { + margin-bottom: 20px; + font-size: 1.2em; + font-weight: 600; + text-align: center; +} + +.answer-options { + margin-top: 15px; +} + +.answer-options label { + display: block; + position: relative; + background: linear-gradient(to right, #5a0fb8, #1f65d6); + padding: 10px 15px; + margin-bottom: 10px; + border-radius: 8px; + cursor: pointer; + transition: all 0.3s ease; +} + +.answer-options label:hover { + background: linear-gradient(to right, #1f65d6, #5a0fb8); + color: white; + transform: translateX(5px); +} + +.answer-options input { + display: none; +} + +.answer-options input:checked + label { + background: linear-gradient(to right, #5a0fb8, #2ecc71); + color: white; + border: 2px solid #27ae60; +} + +.submit-button, .quit-button { + display: block; + width: 100%; + padding: 12px; + color: white; + border: none; + border-radius: 8px; + font-size: 1em; + cursor: pointer; + text-transform: uppercase; + letter-spacing: 1px; + transition: background-color 0.3s ease, transform 0.2s ease; + margin-top: 15px; + text-align: center; +} + +.submit-button { + background: linear-gradient(to right, #80e27e, #66c466); +} + +.quit-button { + background: linear-gradient(to right, #ff8a80, #ff5252); +} + +.submit-button:hover, .quit-button:hover { + transform: scale(1.05); +} + +.submit-button:active, .quit-button:active { + transform: scale(0.98); +} + +/* Responsive Design */ +@media (max-width: 768px) { + h1 { + font-size: 1.8em; + } + + .question { + font-size: 1.1em; + } + + .answer-options label { + font-size: 0.9em; + padding: 8px 12px; + } + + .submit-button, .quit-button { + font-size: 0.9em; + padding: 10px; + } +} + +@media (max-width: 480px) { + h1 { + font-size: 1.5em; + } + + .question { + font-size: 1em; + } + + .answer-options label { + font-size: 0.8em; + padding: 6px 10px; + } + + .submit-button, .quit-button { + font-size: 0.8em; + padding: 8px; + } +} diff --git a/static/images/posts/export_game.png b/static/images/posts/platformer-game-developement-in-godot/export_game.png similarity index 100% rename from static/images/posts/export_game.png rename to static/images/posts/platformer-game-developement-in-godot/export_game.png diff --git a/static/images/posts/platformer-game-developement-in-godot/first_scene.png b/static/images/posts/platformer-game-developement-in-godot/first_scene.png new file mode 100644 index 0000000..bddd9fb Binary files /dev/null and b/static/images/posts/platformer-game-developement-in-godot/first_scene.png differ diff --git a/static/images/posts/platformer-game-developement-in-godot/game_environment.png b/static/images/posts/platformer-game-developement-in-godot/game_environment.png new file mode 100644 index 0000000..cd21da4 Binary files /dev/null and b/static/images/posts/platformer-game-developement-in-godot/game_environment.png differ diff --git a/static/images/posts/game_mechanics.png b/static/images/posts/platformer-game-developement-in-godot/game_mechanics.png similarity index 100% rename from static/images/posts/game_mechanics.png rename to static/images/posts/platformer-game-developement-in-godot/game_mechanics.png diff --git a/static/images/posts/platformer-game-developement-in-godot/game_plan.png b/static/images/posts/platformer-game-developement-in-godot/game_plan.png new file mode 100644 index 0000000..4269822 Binary files /dev/null and b/static/images/posts/platformer-game-developement-in-godot/game_plan.png differ diff --git a/static/images/posts/godot_logo.png b/static/images/posts/platformer-game-developement-in-godot/godot_logo.png similarity index 100% rename from static/images/posts/godot_logo.png rename to static/images/posts/platformer-game-developement-in-godot/godot_logo.png diff --git a/static/images/posts/platformer-game-developement-in-godot/godot_testing.png b/static/images/posts/platformer-game-developement-in-godot/godot_testing.png new file mode 100644 index 0000000..72b7224 Binary files /dev/null and b/static/images/posts/platformer-game-developement-in-godot/godot_testing.png differ diff --git a/static/images/posts/godot_wide_logo.png b/static/images/posts/platformer-game-developement-in-godot/godot_wide_logo.png similarity index 100% rename from static/images/posts/godot_wide_logo.png rename to static/images/posts/platformer-game-developement-in-godot/godot_wide_logo.png diff --git a/static/images/posts/platformer-game-developement-in-godot/installation.jpg b/static/images/posts/platformer-game-developement-in-godot/installation.jpg new file mode 100644 index 0000000..152b133 Binary files /dev/null and b/static/images/posts/platformer-game-developement-in-godot/installation.jpg differ diff --git a/static/images/posts/player_character.png b/static/images/posts/platformer-game-developement-in-godot/player_character.png similarity index 100% rename from static/images/posts/player_character.png rename to static/images/posts/platformer-game-developement-in-godot/player_character.png diff --git a/templates/posts/my-fIrst-post.html b/templates/posts/my-fIrst-post.html index e0f258d..d80d1a5 100644 --- a/templates/posts/my-fIrst-post.html +++ b/templates/posts/my-fIrst-post.html @@ -1,5 +1,105 @@ {% extends "main.html" %} {% block content %} -
+
+
@@ -138,7 +16,7 @@
@@ -165,7 +43,7 @@
@@ -175,7 +53,7 @@
@@ -189,7 +67,7 @@ func _ready():
@@ -210,7 +88,7 @@ func _physics_process(delta):
@@ -221,7 +99,7 @@ func _physics_process(delta):
@@ -231,7 +109,7 @@ func _physics_process(delta):
@@ -242,7 +120,7 @@ func _physics_process(delta):
diff --git a/templates/uni/subjects/halozatok/templates/halozatok_quiz.html b/templates/uni/subjects/halozatok/templates/halozatok_quiz.html
index c2c8266..a7101d4 100644
--- a/templates/uni/subjects/halozatok/templates/halozatok_quiz.html
+++ b/templates/uni/subjects/halozatok/templates/halozatok_quiz.html
@@ -5,112 +5,7 @@
Why Choose Godot 4?
+
Step-by-Step Game Development Process
+
Step 1: Plan Your Game
+
Step 2: Install Godot 4
+
Step 3: Create Your First Scene
+
Step 4: Design the Player Character
+
Step 5: Build the Game Environment
+
Step 6: Implement Gameplay Mechanics
+
Step 7: Test and Polish
+
Step 8: Export and Share