Skip to content

Commit 8340c57

Browse files
committed
first version games
1 parent 6a62a64 commit 8340c57

7 files changed

Lines changed: 2237 additions & 10 deletions

File tree

‎assets/photos/Jacek.jpg‎

-3.47 KB
Loading

‎css/styles.css‎

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,187 @@ nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.35); }
730730
}
731731
.tool-link.launch:hover { background: var(--teal); border-color: var(--teal); }
732732

733+
/* ----------------------------------------------------------------
734+
OUTREACH & SCIENCE COMMUNICATION
735+
---------------------------------------------------------------- */
736+
#outreach { background: var(--white); }
737+
738+
.outreach-grid {
739+
display: grid;
740+
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
741+
gap: 1.75rem;
742+
margin-top: 3rem;
743+
}
744+
745+
.outreach-card {
746+
background: var(--white);
747+
border-radius: var(--radius);
748+
box-shadow: var(--shadow);
749+
overflow: hidden;
750+
display: flex;
751+
flex-direction: column;
752+
border: 1px solid var(--border);
753+
transition: transform var(--transition), box-shadow var(--transition);
754+
}
755+
.outreach-card--live:hover {
756+
transform: translateY(-4px);
757+
box-shadow: var(--shadow-lg);
758+
}
759+
.outreach-card--soon {
760+
opacity: .88;
761+
}
762+
.outreach-card--soon:hover {
763+
opacity: 1;
764+
}
765+
766+
/* Coloured header band */
767+
.outreach-card-header {
768+
display: flex;
769+
align-items: center;
770+
justify-content: space-between;
771+
padding: 1.25rem 1.5rem 1rem;
772+
}
773+
.outreach-header--live {
774+
background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
775+
}
776+
.outreach-header--soon {
777+
background: linear-gradient(135deg, #1e2d3d 0%, #263445 100%);
778+
}
779+
780+
/* Clickable header (live cards) */
781+
a.outreach-header--link {
782+
text-decoration: none;
783+
cursor: pointer;
784+
transition: filter var(--transition);
785+
}
786+
a.outreach-header--link:hover {
787+
filter: brightness(1.15);
788+
}
789+
a.outreach-header--link:hover .outreach-status-pill {
790+
transform: scale(1.06);
791+
box-shadow: 0 0 0 3px rgba(13,148,136,.35);
792+
}
793+
794+
.outreach-card-emoji {
795+
font-size: 2.4rem;
796+
line-height: 1;
797+
filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
798+
}
799+
800+
.outreach-status-pill {
801+
font-size: .7rem;
802+
font-weight: 700;
803+
letter-spacing: .1em;
804+
text-transform: uppercase;
805+
padding: .3rem .8rem;
806+
border-radius: 20px;
807+
transition: transform var(--transition), box-shadow var(--transition);
808+
}
809+
.outreach-pill--live {
810+
background: var(--teal);
811+
color: var(--white);
812+
}
813+
.outreach-pill--soon {
814+
background: rgba(255,255,255,.12);
815+
color: rgba(255,255,255,.55);
816+
border: 1px solid rgba(255,255,255,.18);
817+
}
818+
819+
/* Card body */
820+
.outreach-card-body {
821+
padding: 1.5rem;
822+
display: flex;
823+
flex-direction: column;
824+
gap: .75rem;
825+
flex: 1;
826+
}
827+
828+
.outreach-card-title {
829+
font-family: var(--font-display);
830+
font-size: 1.3rem;
831+
color: var(--navy);
832+
line-height: 1.2;
833+
}
834+
835+
.outreach-card-subtitle {
836+
font-size: .82rem;
837+
color: var(--teal);
838+
font-weight: 600;
839+
letter-spacing: .02em;
840+
}
841+
842+
.outreach-card-desc {
843+
font-size: .9rem;
844+
color: #374151;
845+
line-height: 1.75;
846+
flex: 1;
847+
}
848+
849+
/* Science connection box */
850+
.outreach-concept-box {
851+
background: var(--fog);
852+
border-left: 3px solid var(--teal);
853+
border-radius: 0 8px 8px 0;
854+
padding: .8rem 1rem;
855+
display: flex;
856+
flex-direction: column;
857+
gap: .35rem;
858+
}
859+
.outreach-concept-label {
860+
font-size: .72rem;
861+
font-weight: 700;
862+
letter-spacing: .1em;
863+
text-transform: uppercase;
864+
color: var(--teal);
865+
}
866+
.outreach-concept-box p {
867+
font-size: .82rem;
868+
color: var(--slate);
869+
line-height: 1.6;
870+
}
871+
872+
/* Tags */
873+
.outreach-tags {
874+
display: flex;
875+
flex-wrap: wrap;
876+
gap: .4rem;
877+
margin-top: .1rem;
878+
}
879+
.outreach-tag {
880+
font-size: .65rem;
881+
font-weight: 600;
882+
letter-spacing: .08em;
883+
text-transform: uppercase;
884+
padding: .25rem .65rem;
885+
border-radius: 20px;
886+
background: var(--fog);
887+
color: var(--slate);
888+
border: 1px solid var(--border);
889+
}
890+
891+
/* Footer row */
892+
.outreach-card-footer {
893+
margin-top: .5rem;
894+
display: flex;
895+
align-items: center;
896+
}
897+
.outreach-play-btn {
898+
font-size: .88rem;
899+
padding: .6rem 1.5rem;
900+
}
901+
.outreach-coming-soon-pill {
902+
display: inline-flex;
903+
align-items: center;
904+
gap: .4rem;
905+
font-size: .8rem;
906+
font-weight: 600;
907+
color: var(--slate);
908+
background: var(--fog);
909+
padding: .45rem 1rem;
910+
border-radius: 20px;
911+
border: 1.5px dashed var(--border);
912+
}
913+
733914
/* ----------------------------------------------------------------
734915
PUBLICATIONS
735916
---------------------------------------------------------------- */

0 commit comments

Comments
 (0)