pebble/devsite/source/_sass/sections/events.scss
2025-02-24 18:58:29 -08:00

145 lines
2.5 KiB
SCSS

/**
* Copyright 2025 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
.events__map {
height: 260px;
width: 100%;
margin-bottom: 16px;
}
.events__calendar {
width: 100%;
background-color: $white;
margin-bottom: 1em;
th,
td {
font-weight: 600;
text-align: center;
}
.calendar__month,
.calendar__arrow {
background-color: $gray-09;
font-weight: 700;
color: $white;
}
.calendar__arrow {
font-size: 1.2em;
padding: 0;
a {
color: $white;
}
}
.calendar__month {
text-transform: uppercase;
font-size: 13px;
}
.calendar__days {
th {
font-size: 12px;
}
}
.calendar__day--past {
color: $gray-06;
}
.calendar__day--event {
background-color: $green;
color: #fff;
}
.calendar__day--past-event {
background-color: $gray-06;
color: #fff;
}
td {
padding: 0.25em;
width: 1/7 * 100%;
}
}
.events__list {
.event {
margin-bottom: 0.5em;
h3 {
margin: 0;
overflow: hidden;
font-size: 1.3em;
}
.event__meta {
font-size: 0.9em;
color: darken($gray-09, 20);
margin-bottom: 0.5em;
}
}
.event--highlighted {
padding: 0 10px;
border-left: 10px solid $color-community;
margin-left: -20px;
}
.event--past {
a {
color: lighten($base-link-color, 15);
}
}
}
.retreat-2015__page {
background-color: rgb(47, 89, 108);
background-image: url('/assets/images/community/events/developer-retreat-2015/san-francisco.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
.retreat-2015__stripe {
text-align: center;
background-color: rgba(40, 40, 40, 0.8);
color: #fff;
text-transform: uppercase;
padding: 2em;
h1 {
font-weight: 500;
font-size: 3em;
margin-bottom: 0;
}
h2 {
font-weight: 300;
margin-bottom: 0;
}
form {
margin-top: 3em;
}
.form_group {
margin-bottom: 0;
}
}