Skip to content

Commit e2a82b4

Browse files
authored
Merge pull request #55 from ComputerScienceHouse/wdn/prompt
Add viewport tag, version CSS to force cache invalidation
2 parents 522ce62 + da59ca7 commit e2a82b4

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

site/static/style.css

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,24 +104,20 @@
104104
padding: 10px 15px;
105105
text-align: left;
106106
}
107-
108-
h2 {
109-
font-size: 3rem;
110-
}
111107

112-
.btn {
113-
width: 100%;
114-
}
108+
/* Embiggening for the location button */
115109

116110
.locationButton {
117-
flex: 0 1 calc(100%); /* Adjust the width to 33.33% minus margin */
118-
margin: 20px 40px;
111+
flex: 0 1 calc(100%);
112+
margin: 10px 20px;
119113
gap: 0px;
120-
height: 388px;
121-
font-size: 3rem;
114+
font-size: 2rem;
122115
}
123116

124-
#knock_name_input {
125-
font-size: 2rem;
117+
/* Embiggening for the dialogue button */
118+
119+
.btn {
120+
width: 100%;
121+
font-size: 1.25rem;
126122
}
127123
}

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)