Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4e980bd92 | ||
|
|
4a4f6a59ca |
Binary file not shown.
BIN
core/__pycache__/forms.cpython-311.pyc
Normal file
BIN
core/__pycache__/forms.cpython-311.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,15 @@
|
||||
from django.contrib import admin
|
||||
from .models import Achievement, Proposal
|
||||
|
||||
# Register your models here.
|
||||
@admin.register(Achievement)
|
||||
class AchievementAdmin(admin.ModelAdmin):
|
||||
list_display = ('title', 'student_name', 'event_name', 'achievement_level', 'date')
|
||||
list_filter = ('date', 'achievement_level')
|
||||
search_fields = ('title', 'student_name', 'event_name')
|
||||
|
||||
@admin.register(Proposal)
|
||||
class ProposalAdmin(admin.ModelAdmin):
|
||||
list_display = ('title', 'proposer_name', 'proposal_type', 'status', 'submitted_at')
|
||||
list_filter = ('status', 'proposal_type', 'submitted_at')
|
||||
search_fields = ('title', 'proposer_name')
|
||||
readonly_fields = ('submitted_at',)
|
||||
17
core/forms.py
Normal file
17
core/forms.py
Normal file
@ -0,0 +1,17 @@
|
||||
from django import forms
|
||||
from .models import Proposal
|
||||
|
||||
class ProposalForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Proposal
|
||||
fields = ['title', 'proposer_name', 'description', 'proposal_type', 'attachment']
|
||||
widgets = {
|
||||
'title': forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Judul Proposal'}),
|
||||
'proposer_name': forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Nama Anda/Tim/Lembaga'}),
|
||||
'description': forms.Textarea(attrs={'class': 'form-control', 'rows': 5, 'placeholder': 'Jelaskan secara singkat isi proposal Anda'}),
|
||||
'proposal_type': forms.Select(attrs={'class': 'form-select'}),
|
||||
'attachment': forms.FileInput(attrs={'class': 'form-control'}),
|
||||
}
|
||||
help_texts = {
|
||||
'attachment': 'File dalam format PDF atau Word (.docx).',
|
||||
}
|
||||
39
core/migrations/0001_initial.py
Normal file
39
core/migrations/0001_initial.py
Normal file
@ -0,0 +1,39 @@
|
||||
# Generated by Django 5.2.7 on 2025-11-03 14:36
|
||||
|
||||
import django.utils.timezone
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Achievement',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('title', models.CharField(max_length=200)),
|
||||
('student_name', models.CharField(max_length=100)),
|
||||
('event_name', models.CharField(max_length=200)),
|
||||
('achievement_level', models.CharField(max_length=100)),
|
||||
('date', models.DateField()),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Proposal',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('title', models.CharField(max_length=200)),
|
||||
('proposer_name', models.CharField(help_text='Nama perorangan, kelompok, atau lembaga', max_length=100)),
|
||||
('description', models.TextField()),
|
||||
('proposal_type', models.CharField(choices=[('lomba', 'Lomba'), ('non_lomba', 'Non-Lomba')], default='lomba', max_length=20)),
|
||||
('status', models.CharField(choices=[('pending', 'Pending'), ('approved_dosen', 'Approved by Dosen'), ('approved_fakultas', 'Approved by Fakultas'), ('approved_universitas', 'Approved by Universitas'), ('rejected', 'Rejected'), ('completed', 'Completed')], default='pending', max_length=20)),
|
||||
('submitted_at', models.DateTimeField(default=django.utils.timezone.now)),
|
||||
('attachment', models.FileField(blank=True, help_text='Dokumen proposal (PDF, DOCX)', null=True, upload_to='proposals/')),
|
||||
],
|
||||
),
|
||||
]
|
||||
BIN
core/migrations/__pycache__/0001_initial.cpython-311.pyc
Normal file
BIN
core/migrations/__pycache__/0001_initial.cpython-311.pyc
Normal file
Binary file not shown.
@ -1,3 +1,38 @@
|
||||
from django.db import models
|
||||
from django.utils import timezone
|
||||
|
||||
# Create your models here.
|
||||
class Achievement(models.Model):
|
||||
title = models.CharField(max_length=200)
|
||||
student_name = models.CharField(max_length=100)
|
||||
event_name = models.CharField(max_length=200)
|
||||
achievement_level = models.CharField(max_length=100) # e.g., "Juara 1 Nasional"
|
||||
date = models.DateField()
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
|
||||
class Proposal(models.Model):
|
||||
STATUS_CHOICES = [
|
||||
('pending', 'Pending'),
|
||||
('approved_dosen', 'Approved by Dosen'),
|
||||
('approved_fakultas', 'Approved by Fakultas'),
|
||||
('approved_universitas', 'Approved by Universitas'),
|
||||
('rejected', 'Rejected'),
|
||||
('completed', 'Completed'),
|
||||
]
|
||||
|
||||
PROPOSAL_TYPE_CHOICES = [
|
||||
('lomba', 'Lomba'),
|
||||
('non_lomba', 'Non-Lomba'),
|
||||
]
|
||||
|
||||
title = models.CharField(max_length=200)
|
||||
proposer_name = models.CharField(max_length=100, help_text="Nama perorangan, kelompok, atau lembaga")
|
||||
description = models.TextField()
|
||||
proposal_type = models.CharField(max_length=20, choices=PROPOSAL_TYPE_CHOICES, default='lomba')
|
||||
status = models.CharField(max_length=20, choices=STATUS_CHOICES, default='pending')
|
||||
submitted_at = models.DateTimeField(default=timezone.now)
|
||||
attachment = models.FileField(upload_to='proposals/', blank=True, null=True, help_text="Dokumen proposal (PDF, DOCX)")
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.title} by {self.proposer_name}"
|
||||
|
||||
@ -1,11 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}Knowledge Base{% endblock %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}SIMAPRES{% endblock %}</title>
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Google Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
{% load static %}
|
||||
<link rel="stylesheet" href="{% static 'css/custom.css' %}">
|
||||
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="/">SIMAPRES</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" aria-current="page" href="/">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Prestasi</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Login</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer class="py-4 mt-5 bg-light">
|
||||
<div class="container text-center">
|
||||
<p class="mb-0">© 2025 SIMAPRES. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
{% block scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
@ -1,154 +1,45 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends 'base.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}{{ project_name }}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{% if project_description %}
|
||||
<meta name="description" content="{{ project_description }}">
|
||||
<meta property="og:description" content="{{ project_description }}">
|
||||
<meta property="twitter:description" content="{{ project_description }}">
|
||||
{% endif %}
|
||||
{% if project_image_url %}
|
||||
<meta property="og:image" content="{{ project_image_url }}">
|
||||
<meta property="twitter:image" content="{{ project_image_url }}">
|
||||
{% endif %}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg-color-start: #6a11cb;
|
||||
--bg-color-end: #2575fc;
|
||||
--text-color: #ffffff;
|
||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><path d='M-10 10L110 10M10 -10L10 110' stroke-width='1' stroke='rgba(255,255,255,0.05)'/></svg>");
|
||||
animation: bg-pan 20s linear infinite;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
@keyframes bg-pan {
|
||||
0% {
|
||||
background-position: 0% 0%;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--card-bg-color);
|
||||
border: 1px solid var(--card-border-color);
|
||||
border-radius: 16px;
|
||||
padding: 2.5rem 2rem;
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: clamp(2.2rem, 3vw + 1.2rem, 3.2rem);
|
||||
font-weight: 700;
|
||||
margin: 0 0 1.2rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 1.1rem;
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
.loader {
|
||||
margin: 1.5rem auto;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border: 4px solid rgba(255, 255, 255, 0.25);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.runtime code {
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
padding: 0.15rem 0.45rem;
|
||||
border-radius: 4px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 0.85rem;
|
||||
opacity: 0.75;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block title %}SIMAPRES - Sistem Informasi Prestasi Mahasiswa{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<main>
|
||||
<div class="card">
|
||||
<h1>Analyzing your requirements and generating your app…</h1>
|
||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||
<span class="sr-only">Loading…</span>
|
||||
<!-- Hero Section -->
|
||||
<header class="hero-section">
|
||||
<div class="container text-center">
|
||||
<h1 class="hero-title">Sistem Informasi Prestasi Mahasiswa</h1>
|
||||
<p class="hero-subtitle">Wadah untuk mencatat, mengelola, dan mempublikasikan prestasi mahasiswa.</p>
|
||||
<a href="{% url 'submit_proposal' %}" class="btn btn-lg btn-accent">Ajukan Proposal <i class="fas fa-arrow-right ms-2"></i></a>
|
||||
</div>
|
||||
<p class="hint">AppWizzy AI is collecting your requirements and applying the first changes.</p>
|
||||
<p class="hint">This page will refresh automatically as the plan is implemented.</p>
|
||||
<p class="runtime">
|
||||
Runtime: Django <code>{{ django_version }}</code> · Python <code>{{ python_version }}</code>
|
||||
— UTC <code>{{ current_time|date:"Y-m-d H:i:s" }}</code>
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
Page updated: {{ current_time|date:"Y-m-d H:i:s" }} (UTC)
|
||||
</footer>
|
||||
{% endblock %}
|
||||
</header>
|
||||
|
||||
<!-- Achievements Section -->
|
||||
<section class="py-5">
|
||||
<div class="container">
|
||||
<h2 class="section-title text-center mb-5">Prestasi Terbaru</h2>
|
||||
{% if achievements %}
|
||||
<div class="row g-4">
|
||||
{% for achievement in achievements %}
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card achievement-card h-100">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ achievement.title }}</h5>
|
||||
<h6 class="card-subtitle mb-2 text-muted">{{ achievement.event_name }}</h6>
|
||||
<p class="card-text"><strong>{{ achievement.achievement_level }}</strong></p>
|
||||
<p class="card-text"><small class="text-muted">Diraih oleh: {{ achievement.student_name }} pada {{ achievement.date|date:"d M Y" }}</small></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="text-center">
|
||||
<p>Belum ada prestasi yang dicatat.</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="text-center mt-5">
|
||||
<a href="#" class="btn btn-outline-primary">Lihat Semua Prestasi</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
22
core/templates/core/proposal_success.html
Normal file
22
core/templates/core/proposal_success.html
Normal file
@ -0,0 +1,22 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}Proposal Terkirim - {{ block.super }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container my-5 text-center">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body p-5">
|
||||
<h1 class="display-4 text-primary">Terima Kasih!</h1>
|
||||
<p class="lead">Proposal Anda telah berhasil dikirim.</p>
|
||||
<hr class="my-4">
|
||||
<p>Tim kami akan segera meninjau pengajuan Anda. Anda akan menerima notifikasi lebih lanjut mengenai status proposal Anda.</p>
|
||||
<a class="btn btn-primary btn-lg mt-3" href="{% url 'index' %}" role="button">Kembali ke Halaman Utama</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
55
core/templates/core/submit_proposal.html
Normal file
55
core/templates/core/submit_proposal.html
Normal file
@ -0,0 +1,55 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}Ajukan Proposal - {{ block.super }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container my-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body p-5">
|
||||
<h1 class="card-title text-center mb-4">Formulir Pengajuan Proposal</h1>
|
||||
<p class="text-center text-muted mb-5">Silakan isi detail proposal Anda di bawah ini. Tim kami akan segera meninjaunya.</p>
|
||||
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="{{ form.title.id_for_label }}" class="form-label">{{ form.title.label }}</label>
|
||||
{{ form.title }}
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="{{ form.proposer_name.id_for_label }}" class="form-label">{{ form.proposer_name.label }}</label>
|
||||
{{ form.proposer_name }}
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="{{ form.proposal_type.id_for_label }}" class="form-label">{{ form.proposal_type.label }}</label>
|
||||
{{ form.proposal_type }}
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="{{ form.description.id_for_label }}" class="form-label">{{ form.description.label }}</label>
|
||||
{{ form.description }}
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="{{ form.attachment.id_for_label }}" class="form-label">{{ form.attachment.label }}</label>
|
||||
{{ form.attachment }}
|
||||
{% if form.attachment.help_text %}
|
||||
<div class="form-text">{{ form.attachment.help_text }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" class="btn btn-primary btn-lg">Kirim Proposal</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@ -1,7 +1,8 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import home
|
||||
from .views import index, submit_proposal, proposal_success
|
||||
|
||||
urlpatterns = [
|
||||
path("", home, name="home"),
|
||||
path("", index, name="index"),
|
||||
path("submit-proposal/", submit_proposal, name="submit_proposal"),
|
||||
path("proposal-success/", proposal_success, name="proposal_success"),
|
||||
]
|
||||
|
||||
@ -1,25 +1,27 @@
|
||||
import os
|
||||
import platform
|
||||
|
||||
from django import get_version as django_version
|
||||
from django.shortcuts import render
|
||||
from django.utils import timezone
|
||||
|
||||
|
||||
def home(request):
|
||||
"""Render the landing screen with loader and environment details."""
|
||||
host_name = request.get_host().lower()
|
||||
agent_brand = "AppWizzy" if host_name == "appwizzy.com" else "Flatlogic"
|
||||
now = timezone.now()
|
||||
from django.shortcuts import render, redirect
|
||||
from .models import Achievement, Proposal
|
||||
from .forms import ProposalForm
|
||||
|
||||
def index(request):
|
||||
achievements = Achievement.objects.order_by('-date')[:6]
|
||||
context = {
|
||||
"project_name": "New Style",
|
||||
"agent_brand": agent_brand,
|
||||
"django_version": django_version(),
|
||||
"python_version": platform.python_version(),
|
||||
"current_time": now,
|
||||
"host_name": host_name,
|
||||
"project_description": os.getenv("PROJECT_DESCRIPTION", ""),
|
||||
"project_image_url": os.getenv("PROJECT_IMAGE_URL", ""),
|
||||
'achievements': achievements
|
||||
}
|
||||
return render(request, "core/index.html", context)
|
||||
|
||||
def submit_proposal(request):
|
||||
if request.method == 'POST':
|
||||
form = ProposalForm(request.POST, request.FILES)
|
||||
if form.is_valid():
|
||||
form.save()
|
||||
return redirect('proposal_success')
|
||||
else:
|
||||
form = ProposalForm()
|
||||
|
||||
context = {
|
||||
'form': form
|
||||
}
|
||||
return render(request, 'core/submit_proposal.html', context)
|
||||
|
||||
def proposal_success(request):
|
||||
return render(request, 'core/proposal_success.html')
|
||||
87
static/css/custom.css
Normal file
87
static/css/custom.css
Normal file
@ -0,0 +1,87 @@
|
||||
/*
|
||||
Palette:
|
||||
- Primary: #0D47A1 (Deep Blue)
|
||||
- Secondary: #FFFFFF (White)
|
||||
- Accent: #FFC107 (Amber/Gold)
|
||||
- Neutral/Background: #F4F6F8 (Light Gray)
|
||||
- Text: #212529 (Dark Gray)
|
||||
*/
|
||||
|
||||
/* Typography */
|
||||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
background-color: #F4F6F8;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, .navbar-brand {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
.navbar-brand {
|
||||
font-weight: 700;
|
||||
color: #0D47A1 !important;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero-section {
|
||||
background: linear-gradient(45deg, #0D47A1, #1976D2);
|
||||
color: white;
|
||||
padding: 6rem 0;
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 2rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.btn-accent {
|
||||
background-color: #FFC107;
|
||||
border-color: #FFC107;
|
||||
color: #212529;
|
||||
font-weight: 600;
|
||||
padding: 0.75rem 1.5rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-accent:hover {
|
||||
background-color: #ffca2c;
|
||||
border-color: #ffca2c;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
/* Section */
|
||||
.section-title {
|
||||
font-weight: 600;
|
||||
color: #0D47A1;
|
||||
}
|
||||
|
||||
/* Achievement Card */
|
||||
.achievement-card {
|
||||
border: none;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 4px 25px rgba(0,0,0,0.08);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.achievement-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 30px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
.achievement-card .card-title {
|
||||
color: #0D47A1;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.achievement-card .card-text strong {
|
||||
color: #1976D2;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user