, but this code // executes before the first paint, when

黄大仙高手论坛

is not yet present. The // classes are added to so styling immediately reflects the current // toolbar state. The classes are removed after the toolbar completes // initialization. const classesToAdd = ['toolbar-loading', 'toolbar-anti-flicker']; if (toolbarState) { const { orientation, hasActiveTab, isFixed, activeTray, activeTabId, isOriented, userButtonMinWidth } = toolbarState; classesToAdd.push( orientation ? `toolbar-` + orientation + `` : 'toolbar-horizontal', ); if (hasActiveTab !== false) { classesToAdd.push('toolbar-tray-open'); } if (isFixed) { classesToAdd.push('toolbar-fixed'); } if (isOriented) { classesToAdd.push('toolbar-oriented'); } if (activeTray) { // These styles are added so the active tab/tray styles are present // immediately instead of "flickering" on as the toolbar initializes. In // instances where a tray is lazy loaded, these styles facilitate the // lazy loaded tray appearing gracefully and without reflow. const styleContent = ` .toolbar-loading #` + activeTabId + ` { background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); } .toolbar-loading #` + activeTabId + `-tray { display: block; box-shadow: -1px 0 5px 2px rgb(0 0 0 / 33%); border-right: 1px solid #aaa; background-color: #f5f5f5; z-index: 0; } .toolbar-loading.toolbar-vertical.toolbar-tray-open #` + activeTabId + `-tray { width: 15rem; height: 100vh; } .toolbar-loading.toolbar-horizontal :not(#` + activeTray + `) > .toolbar-lining {opacity: 0}`; const style = document.createElement('style'); style.textContent = styleContent; style.setAttribute('data-toolbar-anti-flicker-loading', true); document.querySelector('head').appendChild(style); if (userButtonMinWidth) { const userButtonStyle = document.createElement('style'); userButtonStyle.textContent = `#toolbar-item-user {min-width: ` + userButtonMinWidth +`px;}` document.querySelector('head').appendChild(userButtonStyle); } } } document.querySelector('html').classList.add(...classesToAdd); })(); On The Road With Saint Augustine - News & Stories | 黄大仙高手论坛

黄大仙高手论坛

Skip to main content

Publications

On The Road With Saint Augustine

Tue, Oct 01, 2019
James K. A. Smith

Following Smith's successful聽You Are What You Love, this book shows how Augustine can be a pilgrim guide to a spirituality that meets the complicated world we live in. Augustine, says Smith, is the patron saint of restless hearts--a guide who has been there, asked our questions, and knows our frustrations and failed pursuits. Augustine spent a lifetime searching for his heart's true home and he can help us find our way. "What makes Augustine a guide worth considering," says Smith, "is that he knows where home is, where rest can be found, what peace feels like, even if it is sometimes ephemeral and elusive along the way." Addressing believers and skeptics alike, this book shows how Augustine's timeless wisdom speaks to the worries and struggles of contemporary life, covering topics such as ambition, sex, friendship, freedom, parenthood, and death. As Smith vividly and colorfully brings Augustine to life for 21st-century readers, he also offers a fresh articulation of Christianity that speaks to our deepest hungers, fears, and hopes.