Skip to content

Commit 6396230

Browse files
committed
Add viewport tag, version CSS to force cache invalidation
1 parent 522ce62 commit 6396230

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

site/static/style.css

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,24 +104,18 @@
104104
padding: 10px 15px;
105105
text-align: left;
106106
}
107-
108-
h2 {
109-
font-size: 3rem;
110-
}
111-
112-
.btn {
113-
width: 100%;
114-
}
115107

116108
.locationButton {
117109
flex: 0 1 calc(100%); /* Adjust the width to 33.33% minus margin */
118-
margin: 20px 40px;
110+
margin: 10px 20px;
119111
gap: 0px;
120-
height: 388px;
121-
font-size: 3rem;
112+
font-size: 2rem;
122113
}
123114

124-
#knock_name_input {
125-
font-size: 2rem;
115+
/* Embiggening for the location button */
116+
117+
.btn {
118+
width: 100%;
119+
font-size: 1.25rem;
126120
}
127121
}

site/templates/home.tmpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
<html>
33
<head>
44
<link rel="stylesheet" href="https://themeswitcher.csh.rit.edu/api/get" media="screen">
5-
<link rel="stylesheet" type="text/css" href="/static/style.css">
5+
<link rel="stylesheet" type="text/css" href="/static/style.css?v=1"> <!--Apply arbitrary version tag to CSS to force cache resolution. Increment this number when you change this file-->
66
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
77
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
88
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
9-
<script defer src="/static/home.js"></script>
9+
<script defer src="/static/home.js?v=1"></script> <!--Apply arbitrary version tag to JS to force cache resolution. Increment this number when you change this file-->
10+
<meta name="viewport" content="width=device-width, initial-scale=1">
1011
</head>
1112
<body>
1213
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">

0 commit comments

Comments
 (0)