Skip to content

Commit 35a9b82

Browse files
committed
center navbar text
1 parent 129b715 commit 35a9b82

3 files changed

Lines changed: 47 additions & 29 deletions

File tree

‎stamina/css/plain-style.css‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,17 @@ font-size: 18pt;
8484
margin-left: 15px;
8585
margin-right: 15px;
8686
}
87+
}
88+
89+
@media (min-width: 768px) {
90+
.navbar-nav {
91+
float: none;
92+
display: inline-block;
93+
}
94+
.navbar-collapse {
95+
text-align: center;
96+
}
97+
.navbar-brand:empty {
98+
display: none;
99+
}
87100
}

‎stamina/css/scrolling-nav.css‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,21 @@ html {
2020
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
2121
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
2222
transition: background .5s ease-in-out,padding .5s ease-in-out;
23+
float: none;
24+
display: inline-block;
2325
}
2426

2527
.top-nav-collapse {
2628
padding: 0;
29+
text-align: center;
2730
}
2831
}
2932

3033
/* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
31-
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children
34+
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children
3235
of those sections to manage the look and feel of the site. */
3336

34-
.some-section {
37+
.some-section {
3538
/* height: 200%; */
3639
padding-top: 50px;
3740
/* text-align: center; */

‎stamina/index.html‎

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -62,43 +62,45 @@
6262
<!-- ============================================================
6363
HEADER / HERO IMAGE
6464
============================================================ -->
65-
<div class="header-banner">
66-
<!-- Overlay Title -->
67-
<div class="header-title">
68-
<h1><b>STAMINA</b> <br> Working Group</h1>
69-
<h4><b>S</b>ocial <b>T</b>ech <b>A</b>nd <b>M</b>odell<b>I</b>ng <br> for k<b>N</b>owledge & <b>A</b>ction</h4>
70-
</div>
65+
<section class="some-section">
66+
67+
<div class="header-banner">
68+
<!-- Overlay Title -->
69+
<div class="header-title">
70+
<h1><b>STAMINA</b> <br> Working Group</h1>
71+
<h4><b>S</b>ocial <b>T</b>ech <b>A</b>nd <b>M</b>odell<b>I</b>ng <br> for k<b>N</b>owledge & <b>A</b>ction</h4>
72+
</div>
7173

72-
<!-- Info Tooltip (bottom-right) -->
73-
<div class="tooltip-container">
74-
<a href="https://vimeo.com/244171658?fl=pl&fe=cm#t=20m15s" class="tooltip-trigger">?</a>
75-
<div class="tooltip-box">
76-
Learn about STAMINA in the About section below. Interested in the background image?
77-
It's from the short film <a href="https://vimeo.com/244171658?fl=pl&fe=cm#t=20m15s">Delphi</a>.
74+
<!-- Info Tooltip (bottom-right) -->
75+
<div class="tooltip-container">
76+
<a href="https://vimeo.com/244171658?fl=pl&fe=cm#t=20m15s" class="tooltip-trigger">?</a>
77+
<div class="tooltip-box">
78+
Learn about STAMINA in the About section below. Interested in the background image?
79+
It's from the short film <a href="https://vimeo.com/244171658?fl=pl&fe=cm#t=20m15s">Delphi</a>.
80+
</div>
7881
</div>
7982
</div>
80-
</div>
8183

8284
<!-- ============================================================
8385
MEETING INFO (edit placeholders below)
8486
============================================================ -->
85-
<section id="meeting-info" class="some-section">
86-
<div>
87-
<!-- <h4 style="text-align:center">Every [Day] at [Time] [Timezone]</h4>
88-
<h4 style="text-align:center">Join us via <a href="[ZOOM_LINK]">Zoom</a></h4> -->
89-
90-
<!-- Uncomment and fill in as needed:
91-
<h5 style="text-align:center">Follow us on Twitter <a href="[TWITTER_LINK]">@stamina_rg</a></h5>
92-
<h5 style="text-align:center">Follow us on Bluesky <a href="[BLUESKY_LINK]">@stamina_rg.bsky.social</a></h5>
93-
<h5 style="text-align:center">Join our Slack: <a href="[SLACK_INVITE]">here</a></h5>
94-
-->
95-
<h5 style="text-align:center">Sign up to the mailing list to receive announcements about STAMINA activities: <a href="https://docs.google.com/forms/d/e/1FAIpQLSe2_x4mGANiUu0j6L9S5Wjk26Kk6q1vdQqsccaoM4Cfb-GMlg/viewform?usp=dialog" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/signup%20form-8A2BE2"></a></h5>
96-
<h5 style="text-align:center">Suggest a speaker (yourself or others) to give a talk in our seminar series: <a href="https://docs.google.com/forms/d/e/1FAIpQLScNYXPRqVu7WRfRRcpOP2LwrdhRxumckq7uIuZ7J3HO7EdNKQ/viewform?usp=publish-editor" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/suggest%20form-8A2BE2"></a></h5>
97-
<!-- <h5 style="text-align:center">Register the event in your <a href="[GOOGLE_CALENDAR]">Google Calendar</a>.</h5> -->
98-
<h5 style="text-align:center"> Visit our Youtube Channel for past event recordings: <a href="https://www.youtube.com/@ComplexDataLab/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/Youtube-Recording-orange"></a> </h5>
87+
88+
<div class="listing" style="clear:both;">
89+
<!-- <h4 style="text-align:center">Every [Day] at [Time] [Timezone]</h4>
90+
<h4 style="text-align:center">Join us via <a href="[ZOOM_LINK]">Zoom</a></h4> -->
91+
<!-- Uncomment and fill in as needed:
92+
<h5 style="text-align:center">Follow us on Twitter <a href="[TWITTER_LINK]">@stamina_rg</a></h5>
93+
<h5 style="text-align:center">Follow us on Bluesky <a href="[BLUESKY_LINK]">@stamina_rg.bsky.social</a></h5>
94+
<h5 style="text-align:center">Join our Slack: <a href="[SLACK_INVITE]">here</a></h5>
95+
-->
96+
<h5 style="text-align:center">Sign up to the mailing list to receive announcements about STAMINA activities: <a href="https://docs.google.com/forms/d/e/1FAIpQLSe2_x4mGANiUu0j6L9S5Wjk26Kk6q1vdQqsccaoM4Cfb-GMlg/viewform?usp=dialog" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/signup%20form-8A2BE2"></a></h5>
97+
<h5 style="text-align:center">Suggest a speaker (yourself or others) to give a talk in our seminar series: <a href="https://docs.google.com/forms/d/e/1FAIpQLScNYXPRqVu7WRfRRcpOP2LwrdhRxumckq7uIuZ7J3HO7EdNKQ/viewform?usp=publish-editor" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/suggest%20form-8A2BE2"></a></h5>
98+
<!-- <h5 style="text-align:center">Register the event in your <a href="[GOOGLE_CALENDAR]">Google Calendar</a>.</h5> -->
99+
<h5 style="text-align:center"> Visit our Youtube Channel for past event recordings: <a href="https://www.youtube.com/@ComplexDataLab/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/Youtube-Recording-orange"></a> </h5>
99100
</div>
100101
</section>
101102

103+
102104
<!-- ============================================================
103105
SECTION: ABOUT
104106
============================================================ -->

0 commit comments

Comments
 (0)